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