test cpp file for compile