class Test(var count: Int) { fun inc() { count++ } }