☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test20909.d
☽
☼
gcc/testsuite/gdc.test/compilable/test20909.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=20909
2
3
struct S
4
{
5
long a;
6
static assert(x.sizeof == 4);
7
enum offset = x.offsetof;
8
static assert(offset == 8); // OK now
9
int x;
10
}