mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			211 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			211 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // https://github.com/rust-lang/rust/issues/3037
 | |
| //@ run-pass
 | |
| #![allow(dead_code)]
 | |
| #![allow(non_camel_case_types)]
 | |
| 
 | |
| enum what { }
 | |
| 
 | |
| fn what_to_string(x: what) -> String
 | |
| {
 | |
|     match x {
 | |
|     }
 | |
| }
 | |
| 
 | |
| pub fn main()
 | |
| {
 | |
| }
 | 
