/* DISABLED: LDC_not_x86 LDC // differing output
TEST_OUTPUT:
---
fail_compilation/fail152.d(16): Error: cannot use type `double` as an operand
fail_compilation/fail152.d(22): Error: template instance `fail152.a!double` error instantiating
---
*/

// https://issues.dlang.org/show_bug.cgi?id=1028
// Segfault using tuple inside asm code.
void a(X...)(X expr)
{
    alias X[0] var1;
    asm {
      //fld double ptr X[0];   // (1) segfaults
        fstp double ptr var1;  // (2) ICE
    }
}

void main()
{
   a(3.6);
}
