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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12539.d
blob
8fab042266c93a628048658d0fbe6b3d795e72da
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/ice12539.d(15): Error: array index `[0]` is outside array bounds `[0 .. 0]`
5
---
6
*/
7
8
alias
TypeTuple
(
E
...) =
E
;
9
10
void
main
()
11
{
12
int
[
string
]
map
;
13
14
alias
Foo
=
TypeTuple
!();
15
auto
a
=
map
[
Foo
[
0
]];
16
}