Sign in
rust
/
rust
/
0e252dfa22dd03f8a87f665d0ebe1192a5da07bf
/
.
/
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
(());
}