#!/usr/local/bin/rune -x # import "sys"; import ; class Parent { int a = 1; int b = 2; } subclass Parent as Child { int a = 50; int c = super.a + 2; int d = b + 2; } alias stdio.File *stdout = stdio.stdout; int main(int ac, char **av) { Child obj; stdout->show("check 1 2 3 4: ", obj.a, obj.b, obj.c, obj.d); return(0); }