summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-18532.rs
blob: 31fd87961dc9f9234a891624210f9e04802f2774 (plain)
1
2
3
4
5
6
7
// 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 `!`
}