about summary refs log tree commit diff
path: root/src/test/parse-fail/macro-attribute.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/macro-attribute.rs')
-rw-r--r--src/test/parse-fail/macro-attribute.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/macro-attribute.rs b/src/test/parse-fail/macro-attribute.rs
index 52f867fe913..18add7d011c 100644
--- a/src/test/parse-fail/macro-attribute.rs
+++ b/src/test/parse-fail/macro-attribute.rs
@@ -8,5 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 #[doc = $not_there] //~ error: unexpected token: `$`
 fn main() { }