mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-30 00:03:49 +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(());
|
|
}
|