mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
12 lines
229 B
Rust
12 lines
229 B
Rust
//@ 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 `()`
|
|
}
|