Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12539.d
blob: 8fab042266c93a628048658d0fbe6b3d795e72da [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/ice12539.d(15): Error: array index `[0]` is outside array bounds `[0 .. 0]`
---
*/
alias
TypeTuple
(
E
...)
=
E
;
void
main
()
{
int
[
string
]
map
;
alias
Foo
=
TypeTuple
!();
auto
a
=
map
[
Foo
[
0
]];
}