mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			170 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			170 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ run-pass
 | |
| 
 | |
| /*
 | |
| #7519 ICE pattern matching unit in function argument
 | |
| https://github.com/rust-lang/rust/issues/7519
 | |
| */
 | |
| 
 | |
| fn foo(():()) { }
 | |
| 
 | |
| pub fn main() {
 | |
|     foo(());
 | |
| }
 | 
