fork download
  1. #include <iostream>
  2. #include <typeinfo>
  3.  
  4. template <typename T>
  5. struct rec
  6. {
  7. rec(int = 0){}
  8. rec<T> test() { return 0; }
  9. };
  10.  
  11. int main()
  12. {
  13. rec<int> t;
  14. return 0;
  15. }
Success #stdin #stdout 0s 3136KB
stdin
Standard input is empty
stdout
Standard output is empty