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