type t1 { int x(); } class c() : t1 impl t1 { int x() { return 7; } export t1 : x; } int main() { t1 x = new c:t1(); -x.x(); }