diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/Sema/PR3675.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/clang/test/Sema/PR3675.c b/clang/test/Sema/PR3675.c deleted file mode 100644 index 9c86d8cbcf5..00000000000 --- a/clang/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; |