fork(2) download
  1. struct a
  2. {
  3. template <int i> struct b
  4. {
  5. typedef int t;
  6. };
  7.  
  8. struct b <1>
  9. {
  10. typedef double t;
  11. };
  12. };
  13.  
  14. int main()
  15. {
  16. a::b<0>::t x;
  17. a::b<1>::t y;
  18.  
  19. return 0;
  20. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:8:9: error: too few template-parameter-lists
  struct b <1>
         ^
stdout
Standard output is empty