Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/ice12850.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice12850.d(12): Error: cannot implicitly convert expression `0` of type `int` to `string`
5 ---
6 */
7 alias TypeTuple(TL...) = TL;
8
9 void main()
10 {
11 int[string] arr;
12 alias staticZip = TypeTuple!(arr[0]);
13 }