mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
18 lines
307 B
D
18 lines
307 B
D
/*
|
|
REQUIRED_ARGS: -m64
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test12430.d(17): Error: simd operator must be an integer constant, not `op`
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=12430
|
|
|
|
import core.simd;
|
|
|
|
void foo()
|
|
{
|
|
float4 a;
|
|
auto op = XMM.RSQRTPS;
|
|
auto b = __simd(op, a);
|
|
}
|