class C : C {}void main() { C c;}
Also, virtual function calls don't seem to work with in references. Ex:
class A { void print_me() { print("a\n"); }};class B : A { void print_me() { print("b\n"); }}void print_a(A & in a) { a.print_me();}void main() { A a; B b; print_a(a); print_a(b);}
It seems to work fine if print_a() is declared void print_a(A & inout a), void print_a(A @ a) or void print_a(A & a) just not void print_a(A & in a).