about summary refs log tree commit diff
path: root/tests/ui/fail-simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/fail-simple.rs')
-rw-r--r--tests/ui/fail-simple.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/fail-simple.rs b/tests/ui/fail-simple.rs
new file mode 100644
index 00000000000..cd81a5d0a0f
--- /dev/null
+++ b/tests/ui/fail-simple.rs
@@ -0,0 +1,3 @@
+fn main() {
+    panic!(@); //~ ERROR no rules expected the token `@`
+}