[cfe-commits] r65638 - /cfe/trunk/test/Sema/PR3675.c
Daniel Dunbar
daniel at zuster.org
Fri Feb 27 09:10:39 PST 2009
Author: ddunbar
Date: Fri Feb 27 11:10:38 2009
New Revision: 65638
URL: http://llvm.org/viewvc/llvm-project?rev=65638&view=rev
Log:
Oops, Ted beat me to it. I'll just play angry god and remove his version!
Removed:
cfe/trunk/test/Sema/PR3675.c
Removed: cfe/trunk/test/Sema/PR3675.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/PR3675.c?rev=65637&view=auto
==============================================================================
--- cfe/trunk/test/Sema/PR3675.c (original)
+++ cfe/trunk/test/Sema/PR3675.c (removed)
@@ -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;
More information about the cfe-commits
mailing list