rust/tests/ui/issues/issue-18532.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
211 B
Rust
Raw Normal View History

2014-11-03 03:36:15 +00:00
// Test that overloaded call parameter checking does not ICE
// when a type error or unconstrained type variable propagates
// into it.
fn main() {
(return)((),()); //~ ERROR expected function, found `!`
2014-11-03 03:36:15 +00:00
}