about summary refs log tree commit diff
path: root/src/test/parse-fail/raw-str-delim.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/raw-str-delim.rs')
-rw-r--r--src/test/parse-fail/raw-str-delim.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/raw-str-delim.rs b/src/test/parse-fail/raw-str-delim.rs
index 83afb33b641..c7ef91f14f5 100644
--- a/src/test/parse-fail/raw-str-delim.rs
+++ b/src/test/parse-fail/raw-str-delim.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 static s: &'static str =
     r#x"#"x# //~ ERROR only `#` is allowed in raw string delimitation; found illegal character
 ;