summaryrefslogtreecommitdiffstats
path: root/tests/ui/test-attrs/test-cant-be-shadowed.rs
blob: 831372d4506b312288dcb831d5b4da0995a587fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// build-pass (FIXME(62277): could be check-pass?)
// aux-build:test_macro.rs
// compile-flags:--test

#[macro_use] extern crate test_macro;

#[test]
fn foo(){}

macro_rules! test { () => () }

#[test]
fn bar() {}