gcc/testsuite/gdc.test/runnable/test23514.d
raw| 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 | } |