3 class Maman
.Bar
: Object
{
4 public virtual void do_action () {
9 class Maman
.SubBar
: Bar
{
10 public override void do_action () {
11 stdout
.printf (" BAD");
22 public static int main () {
23 stdout
.printf ("Base Access Test: 1");
25 var bar
= new
SubBar ();
28 stdout
.printf (" 5\n");