blob: ac4accb2acf960582fa7812a652b3420a1be52e2 [file] [log] [blame]
Douglas Gregor06b70802010-07-15 21:05:01 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
2// XFAIL: *
3struct X {
4 template<typename T> X(T);
5 X(int, int);
6
7 X operator()(int, int) const;
8};
9
10template<typename T, typename U> struct Y { };
11
12X *x;
13void f() {
14 int y = 0;
15 X (*x)(int(y), int(y)) = Y<int, float>(), ++y;
16}