test g++ compiler is working for hello example