]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/test-cant-be-shadowed.rs
Merge commit '15c8d31392b9fbab3b3368b67acc4bbe5983115a' into cranelift-rebase
[rust.git] / src / test / ui / test-attrs / test-cant-be-shadowed.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2 // aux-build:test_macro.rs
3 // compile-flags:--test
4
5 #[macro_use] extern crate test_macro;
6
7 #[test]
8 fn foo(){}
9
10 macro_rules! test { () => () }
11
12 #[test]
13 fn bar() {}