fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template <typename T>
  5. struct S {
  6. S(int) {}
  7. };
  8.  
  9. template <typename T>
  10. void f(S<T>, T) {}
  11.  
  12. int main() {
  13. f<int>(1, 2);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
Standard output is empty