mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			314 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			314 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Ensure that coroutine drop glue is valid when mixing different panic
 | 
						|
// strategies. Regression test for #116953.
 | 
						|
//
 | 
						|
//@ no-prefer-dynamic
 | 
						|
//@ build-pass
 | 
						|
//@ aux-build:unwind-aux.rs
 | 
						|
//@ compile-flags: -Cpanic=abort
 | 
						|
//@ needs-unwind
 | 
						|
extern crate unwind_aux;
 | 
						|
 | 
						|
pub fn main() {
 | 
						|
    unwind_aux::run(String::new());
 | 
						|
}
 |