]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attrs/test-cant-be-shadowed.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[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() {}