fork download
  1. #include <iostream>
  2. using namespace std;
  3. template <class A>
  4. struct test {};
  5.  
  6. struct A;
  7. struct B;
  8. struct C;
  9.  
  10. struct A {
  11. test< test<B> > b;
  12. test<C> c;
  13. };
  14. struct B {
  15. test< test<A> > a;
  16. test<C> c;
  17. };
  18. struct C {
  19. test< test<B> > b;
  20. test<A> a;
  21. };
  22.  
  23. int main() {
  24. // your code goes here
  25. return 0;
  26. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty