girparser: Fix unowned keyword in metadata types
[vala-lang.git] / tests / objects / test-025.vala
blob8ffda92cf8d0811f658e5eb34c1798b4fd477502
1 using GLib;
3 class Maman.Bar : Object {
4 public virtual void do_action () {
5 stdout.printf (" 3");
9 class Maman.SubBar : Bar {
10 public override 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 ("Base 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 ();