gcc/testsuite/gdc.test/fail_compilation/test21995.d
raw| 1 | /* TEST_OUTPUT: |
| 2 | --- |
| 3 | fail_compilation/test21995.d(10): Error: max object size 4294967295 exceeded from adding field size 3 + alignment adjustment 1 + field offset 4294967292 when placing field in aggregate |
| 4 | --- |
| 5 | */ |
| 6 | struct S |
| 7 | { |
| 8 | ubyte[0x7ffffffe] a; |
| 9 | ubyte[0x7ffffffe] b; |
| 10 | ubyte[3] c; |
| 11 | } |