2 // regression test for #8005
4 macro_rules! test { () => { fn foo() -> i32 { 1; } } }
5 //~^ ERROR mismatched types
7 fn no_return() -> i32 {} //~ ERROR mismatched types
9 fn bar(x: u32) -> u32 { //~ ERROR mismatched types
13 fn baz(x: u64) -> u32 { //~ ERROR mismatched types