mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00
11 lines
188 B
Rust
11 lines
188 B
Rust
// Test that a macro can emit delimiters with nothing inside - `()`, `{}`
|
|
|
|
//@ run-pass
|
|
//@ proc-macro: hello_macro.rs
|
|
|
|
extern crate hello_macro;
|
|
|
|
fn main() {
|
|
hello_macro::hello!();
|
|
}
|