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