1 // regression test for #8005
3 macro_rules! test { () => { fn foo() -> i32 { 1; } } }
4 //~^ ERROR mismatched types
6 fn no_return() -> i32 {} //~ ERROR mismatched types
8 fn bar(x: u32) -> u32 { //~ ERROR mismatched types
12 fn baz(x: u64) -> u32 { //~ ERROR mismatched types