]>
git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-12997-1.rs
1 // compile-flags: --test
3 //! Test that makes sure wrongly-typed bench functions aren't ignored
8 fn foo() { }
//~ ERROR functions used as benches
11 fn bar(x
: isize, y
: isize) { }
//~ ERROR functions used as benches