summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/use-macro-self.rs
blob: 06464ab0bc94778fdfc9a5022fb3f12c3d1a1dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
#![allow(unused_imports)]
// aux-build:use-macro-self.rs

#[macro_use]
extern crate use_macro_self;

use use_macro_self::foobarius::{self};

fn main() {
    let _: () = foobarius!(); // OK, the macro returns `()`
}