mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
13 lines
289 B
D
13 lines
289 B
D
/*
|
|
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;
|
|
}
|