mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
11 lines
184 B
Rust
11 lines
184 B
Rust
// Test that a macro can emit delimiters with nothing inside - `()`, `{}`
|
|
|
|
// run-pass
|
|
// aux-build:hello_macro.rs
|
|
|
|
extern crate hello_macro;
|
|
|
|
fn main() {
|
|
hello_macro::hello!();
|
|
}
|