(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
fail_compilation/
imports/
a15667.d
module imports.a15667;

template staticIndexOf(T)
{
    enum staticIndexOf = genericIndexOf!T;
}

template genericIndexOf(args...)
{
    alias e     = args;
    alias tuple = args;
    alias tail = tuple;
    enum next  = genericIndexOf!(e, tail);
}

alias X = ;

static if (staticIndexOf!X)