Source

gdc / gdc.test / fail_compilation / fail214.d

Full commit
Daniel Green b6fdbee 












template Foo(T:immutable(T))
{
    alias T Foo;
}

void main()
{
  {
    const int x;
    alias Foo!(typeof(x)) f;
  }
}