2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(unused_imports)]
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ aux-build:use-macro-self.rs
|
2018-05-19 20:31:06 +03:00
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate use_macro_self;
|
|
|
|
|
|
|
|
use use_macro_self::foobarius::{self};
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _: () = foobarius!(); // OK, the macro returns `()`
|
|
|
|
}
|