codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / objects / bug593260.vala
blob6c1e65886f8606fdbc3c720c77e4b3aa595f174b
1 class Foo {
2 public void do_foo<T> () {
3 assert (this is Foo);
7 void main() {
8 var foo = new Foo ();
9 foo.do_foo<int> ();