mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			202 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			202 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ compile-flags: -C no-prepopulate-passes
 | |
| 
 | |
| #![crate_type = "lib"]
 | |
| 
 | |
| pub trait T {}
 | |
| 
 | |
| // CHECK-LABEL: @copy_fat_ptr
 | |
| #[no_mangle]
 | |
| pub fn copy_fat_ptr(x: &T) {
 | |
| // CHECK-NOT: extractvalue
 | |
|     let x2 = x;
 | |
| }
 | 
