GVala added.
This commit is contained in:
parent
40334d814c
commit
58e2f0122c
|
@ -10,11 +10,17 @@ class Sub : Base {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class SubSub : Sub {
|
||||||
|
public override void copy () {
|
||||||
|
stdout.printf ("SubSub copy() called\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
class GVala : GLib.Object {
|
class GVala : GLib.Object {
|
||||||
public static int main (string[] args) {
|
public static int main (string[] args) {
|
||||||
// var base = new Base();
|
// var base = new Base();
|
||||||
// var sub = new Sub();
|
// var sub = new Sub();
|
||||||
Base b = new Sub();
|
Base b = new SubSub();
|
||||||
|
|
||||||
b.copy();
|
b.copy();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue