codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / delegates / bug598869.test
blob328814a54dec5dd099120a6e7e8295da0e68ced0
1 Invalid Code
3 delegate void FooFunc (int i);
5 class Foo {
6         public FooFunc func;
9 class Bar {
10         public void baz (int i) {
11         }
14 void main () {
15         var foo = new Foo ();
16         foo.func = Bar.baz;