c++: fix explicit/copy problem [PR109247]
[official-gcc.git] / gcc / testsuite / gdc.dg / cast1.d
blob3fe7d99c0318751573ebacbab0ddf52f8f6aad54
1 // { dg-do compile }
2 float bug8060(float x)
4 int i = *cast(int*)&x;
5 ++i;
6 return *cast(float*)&i;