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