fork download
  1. #include <cstdio>
  2.  
  3. #define UNKO if ( false ) ; else
  4. //#define UNKO
  5.  
  6. int main()
  7. {
  8. UNKO int i = 0, j = 2;
  9.  
  10. std::printf("%d\n", i);
  11. std::printf("%d\n", j);
  12. }
  13.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:14: warning: unused variable ‘i’ [-Wunused-variable]
prog.cpp:8:21: warning: unused variable ‘j’ [-Wunused-variable]
prog.cpp:10:22: error: ‘i’ was not declared in this scope
prog.cpp:11:22: error: ‘j’ was not declared in this scope
stdout
Standard output is empty