summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/raw-str-nonexpr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/pretty/raw-str-nonexpr.rs')
-rw-r--r--src/test/pretty/raw-str-nonexpr.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/pretty/raw-str-nonexpr.rs b/src/test/pretty/raw-str-nonexpr.rs
new file mode 100644
index 000000000..7af80979b
--- /dev/null
+++ b/src/test/pretty/raw-str-nonexpr.rs
@@ -0,0 +1,8 @@
+// pp-exact
+
+#[cfg(foo = r#"just parse this"#)]
+extern crate blah as blah;
+
+use std::arch::asm;
+
+fn main() { unsafe { asm!(r###"blah"###); } }