1 // aux-build:builtin-attrs.rs
2 // compile-flags:--test
4 #![feature(decl_macro, test)]
7 extern crate builtin_attrs;
8 use builtin_attrs::{test, bench};
10 #[test] // OK, shadowed
13 #[bench] // OK, shadowed
14 fn bench(b: &mut test::Bencher) {}
19 NonExistent; //~ ERROR cannot find value `NonExistent` in this scope