fork(2) download
  1. template<typename T>
  2. struct Base
  3. {
  4. typedef T Type;
  5. };
  6.  
  7. template<typename T>
  8. struct Derive : T
  9. {
  10. };
  11.  
  12. template<typename T>
  13. struct Foo : Derive<Base<T> >
  14. {
  15. Type Bar;
  16. };
  17.  
  18. int main()
  19. {
  20. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:15:2: error: ‘Type’ does not name a type
  Type Bar;
  ^
stdout
Standard output is empty