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
This commit is contained in:
Daniel Dunbar 2009-02-27 17:10:38 +00:00
Родитель c8d8fa965e
Коммит 7fa649f984
1 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -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;