Compiles as C++ without warnings. (g++ 4.8.2)