D-Bus: Remove extra semicolon to avoid C warning
[vala-lang.git] / tests / structs / bug606202.vala
blob78beb5b8d3bef60a3b4023d59ee6e8ce46c634eb
1 struct Foo {
2 string s;
4 public Foo (string s) {
5 this.s = s;
9 class Bar : Object {
10 public Foo? foo { get; set; }
13 void main () {
14 var bar = new Bar ();
15 var foo = Foo ("hello");
16 bar.foo = foo;
17 assert (bar.foo.s == "hello");