Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // XFAIL: *
      3 struct X {
      4   template<typename T> X(T);
      5   X(int, int);
      6 
      7   X operator()(int, int) const;
      8 };
      9 
     10 template<typename T, typename U> struct Y { };
     11 
     12 X *x;
     13 void f() {
     14   int y = 0;
     15   X (*x)(int(y), int(y)) = Y<int, float>(), ++y;
     16 }
     17