mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			187 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			187 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// compile-flags: -Z ehcont-guard
 | 
						|
 | 
						|
#![crate_type = "lib"]
 | 
						|
 | 
						|
// A basic test function.
 | 
						|
pub fn test() {
 | 
						|
}
 | 
						|
 | 
						|
// Ensure the module flag ehcontguard=1 is present
 | 
						|
// CHECK: !"ehcontguard", i32 1
 |