extern "C" static void* foo(int* a){ return nullptr;}
Standard input is empty
prog.cpp:1:12: error: invalid use of 'static' in linkage specification extern "C" static void* foo(int* a){ ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!