codegen: Fix array size variable on assignment
[vala-lang.git] / tests / objects / test-026.vala
blob154efadb1d0b68d8965b410cc97eba3dffbf2a4c
1 using GLib;
3 class Maman.Bar : Object {
4 public void do_action () {
5 stdout.printf (" 3");
9 class Maman.SubBar : Bar {
10 public void do_action () {
11 stdout.printf (" BAD");
14 public void run () {
15 stdout.printf (" 2");
17 base.do_action ();
19 stdout.printf (" 4");
22 public static int main () {
23 stdout.printf ("Hidden Base Method Access Test: 1");
25 var bar = new SubBar ();
26 bar.run ();
28 stdout.printf (" 5\n");
30 return 0;
34 void main () {
35 Maman.SubBar.main ();