test upasting of c++