1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-02-13 13:48:31 +02:00

14 lines
218 B
Rust
Raw Normal View History

// Make me compile, without taking the macro out of the module!
2017-03-17 09:30:29 -05:00
mod macros {
macro_rules! my_macro {
() => {
println!("Check out my macro!");
};
}
}
fn main() {
my_macro!();
}