for (int i=0; i<4; ++i) t[i] = new test(hoge);