]> git.ipfire.org Git - people/ms/gcc.git/blob - gcc/testsuite/gdc.test/runnable/test23514.d
d: Merge upstream dmd, druntime 4ca4140e58, phobos 454dff14d.
[people/ms/gcc.git] / gcc / testsuite / gdc.test / runnable / test23514.d
1 // DISABLED: win64
2 // https://issues.dlang.org/show_bug.cgi?id=23514
3
4 // Note: this test is disabled on Win64 because of an issue with the Windows
5 // MS-COFF backend causing it to fail.
6
7 enum ulong offset = 0xFFFF_FFFF_0000_0000UL;
8
9 void main()
10 {
11 ulong voffset = offset;
12 assert((cast(ulong)&main + voffset) == (cast(ulong)&main + offset));
13 }