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

11 lines
184 B
Rust
Raw Normal View History

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