| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/e15876_1.d(17): Error: valid scope identifiers are `exit`, `failure`, or `success`, not `x` |
| 5 |
fail_compilation/e15876_1.d(18): Error: found `End of File` when expecting `)` |
| 6 |
fail_compilation/e15876_1.d(18): Error: found `End of File` instead of statement |
| 7 |
fail_compilation/e15876_1.d(18): Error: matching `}` expected following compound statement, not `End of File` |
| 8 |
fail_compilation/e15876_1.d(17): unmatched `{` |
| 9 |
fail_compilation/e15876_1.d(18): Error: found `End of File` when expecting `]` |
| 10 |
fail_compilation/e15876_1.d(18): Error: variable name expected after type `o[() |
| 11 |
{ |
| 12 |
scope(exit) __error__ |
| 13 |
} |
| 14 |
]`, not `End of File` |
| 15 |
--- |
| 16 |
*/ |
| 17 |
o[{scope(x |