blob: c12678ba864c4a32bb7002b046110d2c489974c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PR c++/10207
// { dg-options "" }
typedef struct { } EmptyStruct;
typedef struct { EmptyStruct Empty; } DemoStruct;
void Func()
{
DemoStruct Demo;
Demo.Empty = (EmptyStruct) {};
}
|