Debian Codegraph @

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

raw
1 /*
2 REQUIRED_ARGS: -m64
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail19898a.d(10): Error: expression `__key2 < __limit3` of type `__vector(int[4])` does not have a boolean value
6 ---
7 */
8 void f (__vector(int[4]) n)
9 {
10 foreach (i; 0 .. n)
11 cast(void)n;
12 }