Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-12997-1.rs
blob: 9f808dac362783acb3fa651c525ec10fc028d7e5 [
file
] [
log
] [
blame
]
// compile-flags: --test
//! Test that makes sure wrongly-typed bench functions aren't ignored
#![
feature
(
test
)]
#[
bench
]
fn
foo
()
{
}
//~ ERROR functions used as benches
#[
bench
]
fn
bar
(
x
:
isize
,
y
:
isize
)
{
}
//~ ERROR functions used as benches