summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/invalid-punct-ident-4.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/proc-macro/invalid-punct-ident-4.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/invalid-punct-ident-4.rs b/src/test/ui/proc-macro/invalid-punct-ident-4.rs
new file mode 100644
index 000000000..59b347dac
--- /dev/null
+++ b/src/test/ui/proc-macro/invalid-punct-ident-4.rs
@@ -0,0 +1,12 @@
+// aux-build:invalid-punct-ident.rs
+
+#[macro_use]
+extern crate invalid_punct_ident;
+
+lexer_failure!();
+//~^ ERROR proc macro panicked
+//~| ERROR unexpected closing delimiter: `)`
+
+fn main() {
+ let _recovery_witness: () = 0; //~ ERROR mismatched types
+}