about summary refs log tree commit diff
path: root/tests/ui/parser/raw/raw-string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/raw/raw-string.rs')
-rw-r--r--tests/ui/parser/raw/raw-string.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/parser/raw/raw-string.rs b/tests/ui/parser/raw/raw-string.rs
new file mode 100644
index 00000000000..84f07c4a941
--- /dev/null
+++ b/tests/ui/parser/raw/raw-string.rs
@@ -0,0 +1,4 @@
+fn main() {
+    let x = r##"lol"#;
+    //~^ ERROR unterminated raw string
+}