mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			235 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			235 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ assembly-output: emit-asm
 | 
						|
//@ only-x86_64-unknown-linux-gnu
 | 
						|
//@ compile-flags: -C panic=unwind -C force-unwind-tables=n
 | 
						|
 | 
						|
#![crate_type = "lib"]
 | 
						|
 | 
						|
// CHECK-LABEL: foo:
 | 
						|
// CHECK: .cfi_startproc
 | 
						|
#[no_mangle]
 | 
						|
fn foo() {
 | 
						|
    panic!();
 | 
						|
}
 |