about summary refs log tree commit diff
path: root/tests/ui/parser/doc-before-syntax-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/doc-before-syntax-error.rs')
-rw-r--r--tests/ui/parser/doc-before-syntax-error.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/parser/doc-before-syntax-error.rs b/tests/ui/parser/doc-before-syntax-error.rs
new file mode 100644
index 00000000000..435f497d186
--- /dev/null
+++ b/tests/ui/parser/doc-before-syntax-error.rs
@@ -0,0 +1,2 @@
+/// Some documentation
+<> //~ ERROR expected identifier