diff options
Diffstat (limited to 'tests/ui/proc-macro/invalid-punct-ident-2.rs')
-rw-r--r-- | tests/ui/proc-macro/invalid-punct-ident-2.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/invalid-punct-ident-2.rs b/tests/ui/proc-macro/invalid-punct-ident-2.rs new file mode 100644 index 000000000..afb6985e4 --- /dev/null +++ b/tests/ui/proc-macro/invalid-punct-ident-2.rs @@ -0,0 +1,9 @@ +// aux-build:invalid-punct-ident.rs +// needs-unwind proc macro panics to report errors + +#[macro_use] +extern crate invalid_punct_ident; + +invalid_ident!(); //~ ERROR proc macro panicked + +fn main() {} |