struct TestStruct {
    public int dummy;
}

class TestClass : Object {
	public TestStruct _test_struct;

	public int test_int { get; set; }
	public TestStruct test_struct { get { return _test_struct; }  set { stdout.printf("%d\n", value.dummy); } }
}

static int main(string[] args)
{
	TestClass tc = new TestClass();

	int ti = 10;
	tc.set("test_int", ti);

	TestStruct ts = TestStruct(){ dummy = 1234 };
	tc.set("test_struct", ts);

	return 0;
}

