fork download
  1. struct a
  2. {
  3. template <int i> struct b
  4. {
  5. typedef int t;
  6. };
  7. };
  8.  
  9. template <> struct a::b <1>
  10. {
  11. typedef double t;
  12. };
  13.  
  14. int main()
  15. {
  16. a::b<0>::t x;
  17. a::b<1>::t y;
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
Standard output is empty