blob: a2b44e91f11418de6dcdc4c9fc178969cc0c57a8 [file] [log] [blame]
// Test that we can't pass other types for !
fn foo(x: !) -> ! {
x
}
fn main() {
foo("wow"); //~ ERROR mismatched types
}