1 2 3 4 5 6 7 8 9
// compile-flags: --test //! Test that makes sure wrongly-typed bench functions are rejected #![feature(test)] #[bench] fn bar(x: isize) { } //~^ ERROR mismatched types