class A {} fun f() { class B < A {} return B; } print f(); // expect: B