vapi: Update GIR-based bindings
[vala-gnome.git] / tests / chainup / struct-this.vala
blob1619e04428dd3064f6fd895c364aa532842f2272
1 public struct Foo {
2 public int i;
3 public int j;
4 public Foo () {
5 j = 1;
7 public Foo.bar () {
8 this ();
9 i = 1;
13 void main () {
14 var foo = Foo.bar ();
15 assert (foo.i == 1);
16 assert (foo.j == 1);