From: Daniel Dunbar Date: Fri, 27 Feb 2009 17:10:38 +0000 (+0000) Subject: Oops, Ted beat me to it. I'll just play angry god and remove his version! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fa649f9849269d16310b603706b93819f3ab20d;p=clang 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 --- 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;