mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			228 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			228 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// Test for #135870, which causes a deadlock bug
 | 
						|
//
 | 
						|
//@ compile-flags: -Z threads=2
 | 
						|
//@ compare-output-by-lines
 | 
						|
 | 
						|
const FOO: usize = FOO; //~ ERROR cycle detected when simplifying constant for the type system `FOO`
 | 
						|
 | 
						|
fn main() {}
 |