// This one fails at vala compiler stage.
// class TestC {
//     public int type { get; }
// }
// This one also fails at vala compiler stage.
// abstract class TestA {
// 	public abstract int type { get; }
// }


// This one should fail but it does not until C compiler stage.
interface TestI {
	public abstract int type { get; }
}

// This one also should fail but it does not until C compiler stage.
public class Test {
	public int get_type () { return 1; }
}
// This is the workaround.
// public class Test {
// 	[CCode (cname="test_my_get_type")]
//  	public int get_type () { return 1; }
// }
