codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / asynchronous / bug653861.vala
blobdfe4db09353461ced01e88701dfe770a159b6c03
1 class Foo {
2 public async void bar<G> (G arg, Type t) {
3 assert (typeof (G) == t);
7 void main () {
8 var foo = new Foo ();
9 foo.bar<string> ("foo", typeof (string));