gtk+-3.0: Fix gtk_widget_adjust_size_* bindings
[vala-lang.git] / tests / errors / bug596228.vala
blob25456a3babc52b4e73c81fded04d636255d2f628
1 struct Foo {
2 Foo (int foo) {
3 this.foo = foo;
6 int foo;
9 Foo get_foo () throws Error {
10 return Foo (42);
13 void main () {
14 var foo = get_foo ();
15 assert (foo.foo == 42);