blob: c12678ba864c4a32bb7002b046110d2c489974c4 [file] [log] [blame]
// PR c++/10207
// { dg-options "" }
typedef struct { } EmptyStruct;
typedef struct { EmptyStruct Empty; } DemoStruct;
void Func()
{
DemoStruct Demo;
Demo.Empty = (EmptyStruct) {};
}