mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	to avoid going over the existing limit now that the ui-fulldeps tests have been moved to ui.
		
			
				
	
	
		
			19 lines
		
	
	
		
			213 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			213 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// run-pass
 | 
						|
 | 
						|
#![allow(dead_code)]
 | 
						|
//
 | 
						|
// See also: ui/unsafe/unsafe-fn-called-from-safe.rs
 | 
						|
 | 
						|
// pretty-expanded FIXME #23616
 | 
						|
 | 
						|
unsafe fn f() { return; }
 | 
						|
 | 
						|
fn g() {
 | 
						|
    unsafe {
 | 
						|
        f();
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
pub fn main() {
 | 
						|
}
 |