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