blob: a8a1e7119bee14a2efb19650903335cb00581344 [file]
/*
DISABLED: freebsd32 openbsd32 linux32 osx32 win32
TEST_OUTPUT:
---
fail_compilation/ice20264.d(12): Error: cannot modify expression `cast(__vector(float[4]))a` because it is not an lvalue
---
*/
void foo(float *a)
{
alias float4 = __vector(float[4]);
cast(float4)(a) = 1.0f;
}