fork download
  1. // ()<(X)>()<X>(X)
  2.  
  3. struct foo {
  4. template<int i> int operator()(){return i;}
  5. };
  6.  
  7. int main(){
  8. const int X = 1;
  9. foo f;
  10. if (f.operator()<(X)>()<X>(X))
  11. return 0;
  12. }
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty