summaryrefslogtreecommitdiff
path: root/clang/test/Parser/backtrack-crash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/backtrack-crash.cpp')
-rw-r--r--clang/test/Parser/backtrack-crash.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Parser/backtrack-crash.cpp b/clang/test/Parser/backtrack-crash.cpp
new file mode 100644
index 0000000..cc26873
--- /dev/null
+++ b/clang/test/Parser/backtrack-crash.cpp
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
+// PR7072
+()( // expected-error {{expected unqualified-id}}
+