summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/e15876_1.d
blob: 33bee254589712867e2dc301eb51785f16709664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
TEST_OUTPUT:
---
fail_compilation/e15876_1.d(15): Error: valid scope identifiers are `exit`, `failure`, or `success`, not `x`
fail_compilation/e15876_1.d(16): Error: found `End of File` when expecting `)`
fail_compilation/e15876_1.d(16): Error: found `End of File` instead of statement
fail_compilation/e15876_1.d(16): Error: found `End of File` when expecting `}` following compound statement
fail_compilation/e15876_1.d(16): Error: found `End of File` when expecting `]`
fail_compilation/e15876_1.d(16): Error: no identifier for declarator `o[()
{
scope(exit) }
]`
---
*/
o[{scope(x