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

Add test case for PR 3675.
Add test case for PR 3675.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@65635 91177308-0d34-0410-b5e6-96231b3b80d8
