c++: fix explicit/copy problem [PR109247]
[official-gcc.git] / gcc / testsuite / gdc.dg / torture / pr109144.d
blob32d3af7cd45aaa17a8424fb44dc4aa8dae038455
1 // { dg-do run }
2 // { dg-skip-if "needs gcc/config.d" { ! d_runtime } }
3 void main()
5 align(128) byte var;
6 assert((cast(size_t) &var) % 128 == 0);
7 var = 73;
8 assert((() => var)() == 73);