]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/ice11850.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice11850.d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice11850.d(14): Error: incompatible types for ((a) < ([0])): 'uint[]' and 'int[]'
5 fail_compilation/imports/a11850.d(9): instantiated from here: FilterResult!(__lambda1, uint[][])
6 fail_compilation/ice11850.d(14): instantiated from here: filter!(uint[][])
7 ---
8 */
9
10 import imports.a11850 : filter;
11
12 void main()
13 {
14 filter!(a => a < [0])([[0u]]);
15 }