blob: 85c34680f0a3c8eff12c81e97fdd5aad18933ba9 [file] [log] [blame]
Douglas Gregordc936182010-07-15 21:05:01 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2// XFAIL: *
Alp Toker6b0beb02014-05-28 12:26:32 +00003// FIXME: This is PR7655
4
Douglas Gregordc936182010-07-15 21:05:01 +00005struct X {
6 template<typename T> X(T);
7 X(int, int);
8
9 X operator()(int, int) const;
10};
11
12template<typename T, typename U> struct Y { };
13
14X *x;
15void f() {
16 int y = 0;
17 X (*x)(int(y), int(y)) = Y<int, float>(), ++y;
18}