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