Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice11404.d(10): Error: cannot have associative array of `(int, int)`
5 ---
6 */
7 template TypeTuple(TL...) { alias TL TypeTuple; }
8 void main()
9 {
10 TypeTuple!(int, int)[string] my_map;
11 }