mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
23 lines
311 B
D
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()
|
|
{
|
|
}
|
|
}
|