summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/fail37_m64.d
blob: 2e979e78c671a4747cf21bfbaf202e7be2b3dc3d (plain)
1
2
3
4
5
6
7
8
9
// REQUIRED_ARGS: -m64
/*
TEST_OUTPUT:
---
fail_compilation/fail37_m64.d(9): Error: 'cast(float)4LU / cast(float)8LU - cast(float)2147483647' is not of integral type, it is a float
---
*/

ulong[cast(uint)((cast(float)int.sizeof/ulong.sizeof)-int.max>>2)+int.max>>2] hexarray;