This test case should not produce any errors, but doesn't.
class A(T)
{
Undef error;
}
static assert(!__traits(compiles, {
class C : A!C { }
}));
----
test.d(3): Error: undefined identifier Undef
test.d(8): Error: template instance test.A!(C) error instantiating