Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/ice12397.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice12397.d(12): Error: undefined identifier `tokenLookup`
5 ---
6 */
7
8 struct DSplitter
9 {
10 enum Token : int
11 {
12 max = tokenLookup.length
13 }
14
15 immutable string[Token.max] tokenText;
16 }