#include <stdio.h> #pragma GCC poison new int main(void) { int new=5; // oops compiler error use of poisoned identifer 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