summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/attr-bad-meta-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/attr-bad-meta-2.rs')
-rw-r--r--tests/ui/parser/attr-bad-meta-2.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/parser/attr-bad-meta-2.rs b/tests/ui/parser/attr-bad-meta-2.rs
new file mode 100644
index 000000000..db612ed88
--- /dev/null
+++ b/tests/ui/parser/attr-bad-meta-2.rs
@@ -0,0 +1,2 @@
+#[path =] //~ ERROR expected expression, found `]`
+mod m {}