using GLib;
using Gee;

class cTest:Object {

}

int main() {

	ArrayList<cTest> myList= new ArrayList<cTest>();

	cTest myObject;

	myObject=new cTest();
	stdout.printf("References: %ud\n",myObject.ref_count);
	myList.add(myObject);
	stdout.printf("References: %ud\n",myObject.ref_count);
	myList.remove(myObject);
	stdout.printf("References: %ud\n",myObject.ref_count);
	return 0;
}
