Debian Codegraph @

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

raw
1 /*
2 DISABLED: freebsd32 openbsd32 linux32 osx32 win32
3 TEST_OUTPUT:
4 ---
5 fail_compilation/ice20264.d(12): Error: cannot modify expression `cast(__vector(float[4]))a` because it is not an lvalue
6 ---
7 */
8
9 void foo(float *a)
10 {
11 alias float4 = __vector(float[4]);
12 cast(float4)(a) = 1.0f;
13 }