class Foo { typedef Foo::Type Type; }; int main() {}
Standard input is empty
prog.cpp:2:17: error: ‘Type’ in ‘class Foo’ does not name a type typedef Foo::Type Type; ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!