Sign in
rust
/
rust
/
8a7e1d75b2e2f4a2e89420130bca8d8d97f9074e
/
.
/
tests
/
ui
/
pattern
/
unit-pattern-matching-in-function-argument-7519.rs
blob: 7bfa9ee66256ab144ef7fd59643cadb80721a6fc [
file
]
//@ run-pass
/*
#7519 ICE pattern matching unit in function argument
https://github.com/rust-lang/rust/issues/7519
*/
fn
foo
(():())
{
}
pub
fn
main
()
{
foo
(());
}