mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			297 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			297 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ compile-flags: -C no-prepopulate-passes -C panic=abort -C force-unwind-tables=n
 | |
| //@ ignore-windows: unwind tables are required for panics on Windows
 | |
| 
 | |
| #![crate_type = "lib"]
 | |
| 
 | |
| // CHECK-LABEL: define{{.*}}void @foo
 | |
| // CHECK-NOT: attributes #{{.*}} uwtable
 | |
| #[no_mangle]
 | |
| fn foo() {
 | |
|     panic!();
 | |
| }
 | 
