// -*- rust -*- // Tests that a function with a ! annotation always actually fails fn bad_bang(i: uint) -> ! { return 7u; //~^ ERROR expected `_|_` but found `uint` } fn main() { bad_bang(5u); }