fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class A : public A::B {
  5. public:
  6. class B {};
  7. };
  8.  
  9. int main() {
  10. // your code goes here
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:23: error: expected class-name before '{' token
 class A : public A::B {
                       ^
stdout
Standard output is empty