d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test20909.d
blob743c979ba19fd6634e72f2387a3d953c1e09b11a
1 // https://issues.dlang.org/show_bug.cgi?id=20909
3 struct S
5 long a;
6 static assert(x.sizeof == 4);
7 enum offset = x.offsetof;
8 static assert(offset == 8); // OK now
9 int x;