gcc/testsuite/gdc.test/fail_compilation/fail127.d
raw| 1 | /* |
| 2 | TEST_OUTPUT: |
| 3 | --- |
| 4 | fail_compilation/fail127.d(9): Error: a struct is not a valid initializer for a `char[][]` |
| 5 | fail_compilation/fail127.d(10): Error: a struct is not a valid initializer for a `string[]` |
| 6 | --- |
| 7 | */ |
| 8 | |
| 9 | char[][] Level2Text1 = {"LOW", "MEDIUM", "HIGH"}; |
| 10 | string[] Level2Text2 = {"LOW", "MEDIUM", "HIGH"}; // for D2 |