mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			229 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			229 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// run-pass
 | 
						|
// use of tail calls causes arg slot leaks, issue #160.
 | 
						|
// pretty-expanded FIXME #23616
 | 
						|
 | 
						|
fn inner(dummy: String, b: bool) { if b { return inner(dummy, false); } }
 | 
						|
 | 
						|
pub fn main() {
 | 
						|
    inner("hi".to_string(), true);
 | 
						|
}
 |