diff options
Diffstat (limited to 'tests/ui/macro-quote-test.rs')
-rw-r--r-- | tests/ui/macro-quote-test.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/macro-quote-test.rs b/tests/ui/macro-quote-test.rs new file mode 100644 index 000000000..2ba61acad --- /dev/null +++ b/tests/ui/macro-quote-test.rs @@ -0,0 +1,10 @@ +// 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!(); +} |