aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-27 17:10:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-27 17:10:38 +0000
commit7fa649f9849269d16310b603706b93819f3ab20d (patch)
tree2ff41b6321891504006dedf83e34265021aa4ae6
parentc8d8fa965e3d34335959923b0079f1d23ca5767d (diff)
Oops, Ted beat me to it. I'll just play angry god and remove his version!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65638 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/PR3675.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/Sema/PR3675.c b/test/Sema/PR3675.c
deleted file mode 100644
index 9c86d8cbcf..0000000000
--- a/test/Sema/PR3675.c
+++ /dev/null
@@ -1,16 +0,0 @@
-// RUN: clang -verify %s
-//
-// This example was reduced from actual code in Wine 1.1.13. GCC accepts this
-// code, while the correct behavior is to reject it.
-//
-
-typedef struct _IRP {
- union {
- struct {
- union {} u; // expected-note{{previous declaration is here}}
- struct {
- union {} u; // expected-error{{error: member of anonymous struct redeclares 'u'}}
- };
- } Overlay;
- } Tail;
-} IRP;