repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12397.d
blob
015e023009207f3b76be51954637f4589061a04c
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
}