aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/bracket-crash.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-12 01:48:28 +0000
committerChris Lattner <sabre@nondot.org>2010-07-12 01:48:28 +0000
commit9fc1873a3da0af8ef91e4f1927f3540f9af2038f (patch)
treea19c9314aba6ea93f76b76321ab9bff6196fcb26 /test/Parser/bracket-crash.cpp
parent184aa4e6ded190bfb3bbe207040467f8d7e28a04 (diff)
revert a hunk of code that Argiris added in r106213, which is the
root cause of PR7481 and probably more, and has no apparent testcases. I don't understand the logic here so I can't repair it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108119 91177308-0d34-0410-b5e6-96231b3b80d8
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 0000000000..fd18e0e25f
--- /dev/null
+++ b/test/Parser/bracket-crash.cpp
@@ -0,0 +1,6 @@
+// RUN: not %clang_cc1 -fsyntax-only %s
+// PR7481
+struct{
+ a
+}
+