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
/
ice8604.d
blob
3c179982fd9501b2b58d67dcce45a362b8ac0ffc
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/ice8604.d(9): Error: undefined identifier `i`
5
---
6
*/
7
struct
StructFoo
8
{
9
static if
(
i
) { }
10
else enum
z
=
""
;
11
}
12
13
void
main
() { }