14 lines
139 B
Plaintext
14 lines
139 B
Plaintext
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();
|
|
}
|