test for ccflag

on unix system, using g++ to complie it.
g++ -o test_ccflag test_ccflag.cc ccflag.cc