dmd/compiler/test/runnable/test17337.d
2022-07-09 18:53:07 +02:00

23 lines
311 B
D

// REQUIRED_ARGS: -mcpu=native
static if (__traits(compiles, __vector(ubyte[16])))
{
alias ubyte16 = __vector(ubyte[16]);
ubyte16 bug(ubyte val)
{
immutable ubyte16 a = 0, b = val;
return b;
}
void main()
{
bug(0);
}
}
else
{
void main()
{
}
}