mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			292 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			292 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// skip-filecheck
 | 
						|
// check that we don't StorageDead booleans before they are used
 | 
						|
 | 
						|
// EMIT_MIR issue_38669.main.SimplifyCfg-initial.after.mir
 | 
						|
fn main() {
 | 
						|
    let mut should_break = false;
 | 
						|
    loop {
 | 
						|
        if should_break {
 | 
						|
            break;
 | 
						|
        }
 | 
						|
        should_break = true;
 | 
						|
    }
 | 
						|
}
 |