mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			179 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			179 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Compiler:
 | 
						|
//
 | 
						|
// Run-time:
 | 
						|
//   status: 0
 | 
						|
 | 
						|
fn main() {
 | 
						|
    let mut value = (1, 1);
 | 
						|
    let ptr = &mut value as *mut (i32, i32);
 | 
						|
    println!("{:?}", ptr.wrapping_offset(10));
 | 
						|
}
 |