Source

gdc / gdc.test / compilable / test6056b.d

Full commit
1
2
3
4
5
template X(T) { alias T X; }

alias const(X!char*) A;
alias const(X!int*) B;
static assert(is(B == const(int*)));