summaryrefslogtreecommitdiff
path: root/clang/test/Parser/bracket-crash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Parser/bracket-crash.cpp')
-rw-r--r--clang/test/Parser/bracket-crash.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Parser/bracket-crash.cpp b/clang/test/Parser/bracket-crash.cpp
new file mode 100644
index 0000000..bcc6eab
--- /dev/null
+++ b/clang/test/Parser/bracket-crash.cpp
@@ -0,0 +1,6 @@
+// RUN: not %clang_cc1 -fsyntax-only -std=c++11 %s
+// PR7481
+decltype(;
+struct{
+ a
+}