summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-use-all-and-none.rs
blob: c8bd44008b081a1dff7daac8e981c4f24fc8daf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:two_macros-rpass.rs

#![warn(unused_attributes)]

#[macro_use]
#[macro_use()] //~ WARNING unused attribute
extern crate two_macros_rpass;

pub fn main() {
    macro_one!();
    macro_two!();
}