blob: 9ca1ac7462d4d8f319ca3c8d2465b7da25e041eb [file] [log] [blame]
// Test that we can't use another type in place of !
#![deny(warnings)]
fn main() {
let x: ! = "hello"; //~ ERROR mismatched types
}