public class Toto : GLib.Object {
	string toto;
	
	construct {
		toto = "toto";
	}
	
	public GLib.Value value {
		get {
			return toto;
		}
	}
}

public static void main (string[] args) {
	Value val = "toto";
	var toto = new Toto();
	print ("%s\n", val.get_string());
	print ("%s\n", (string)val);
	print ("%s\n", (string)toto.value);
}
