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