test c++ std for g++