2 // RUN: %clang_cc1 -pedantic -std=c++1z -include %s -verify %s
5 // RUN: %clang_cc1 -pedantic -std=c++1z -emit-pch %s -o %t
6 // RUN: %clang_cc1 -pedantic -std=c++1z -include-pch %t -verify %s
11 template<typename ...T> struct A : T... {
13 template<typename ...U> void g(U ...u) { f(u...); }
16 struct X { void f(); };
17 struct Y { void f(int); };
18 struct Z { void f(int, int); };
28 // expected-error@13 {{no match}}
29 // expected-note@16 {{candidate}}
30 // expected-note@17 {{candidate}}
31 // expected-note@18 {{candidate}}
32 a.g(0, 0, 0); // expected-note {{instantiation of}}