]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/fail13434_m32.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail13434_m32.d
1 // REQUIRED_ARGS: -m32
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail13434_m32.d(13): Error: cannot implicitly convert expression `()` of type `()` to `uint`
6 ---
7 */
8
9 alias tuple(A...) = A;
10 void main()
11 {
12 float[] arr;
13 arr[tuple!()] = 0;
14 }