fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. enum A;
  5.  
  6. int main() {
  7. // your code goes here
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:6: error: use of enum ‘A’ without previous declaration
 enum A;
      ^
stdout
Standard output is empty