rust/src/test/ui/macro-quote-test.rs

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!();
}