#include <stdio.h>#pragma GCC poison newint main(void){ int new=5; // oops compiler error use of poisoned identifer new. printf("%d",new);}
Standard input is empty
prog.c: In function 'main': prog.c:5:8: error: attempt to use poisoned "new" int new=5; // oops compiler error use of poisoned identifer new. ^ prog.c:6:16: error: attempt to use poisoned "new" printf("%d",new); ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!