test compiling with gcc4.6