libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data
[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);