fork download
  1. class Foo {
  2. typedef Foo::Type Type;
  3. };
  4.  
  5. int main() {}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2:17: error: ‘Type’ in ‘class Foo’ does not name a type
         typedef Foo::Type Type;
                 ^
stdout
Standard output is empty