]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-shadowing/test-cant-be-shadowed.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / test-shadowing / test-cant-be-shadowed.rs
1 // compile-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() {}