Source

gdc / gdc.test / fail_compilation / fail115.d

// 402

template Foo(alias b)
{
    int a() { return b; }
}

void main()
{
    mixin Foo!(y) y;
}