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