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
blob8fab042266c93a628048658d0fbe6b3d795e72da
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice12539.d(15): Error: array index `[0]` is outside array bounds `[0 .. 0]`
5 ---
6 */
8 alias TypeTuple(E...) = E;
10 void main ()
12 int[string] map;
14 alias Foo = TypeTuple!();
15 auto a = map[Foo[0]];