gcc/testsuite/gdc.test/fail_compilation/fail5953s2.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail5953s2.d(12): Error: expression expected, not `,` |
| 5 | fail_compilation/fail5953s2.d(12): Error: expression expected, not `,` |
| 6 | fail_compilation/fail5953s2.d(12): Error: expression expected, not `,` |
| 7 | --- |
| 8 | */ |
| 9 | void main() |
| 10 | { |
| 11 | struct S{} |
| 12 | S s3 = {,,,}; // invalid, but compiles |
| 13 | } |