codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / objects / bug597161.vala
blobcafd5924e0f377ac52b22da27e60325bc96dea95
1 public class Foo : Object {
2 public Foo () {
3 return;
7 void main () {
8 assert (new Foo () is Foo);