Lines Matching refs:temp2
5 // expected-note {{no overload of 'temp2' matching 'void (*)(int)'}}
39 template<class A, class B> B temp2(A);
42 apply(0, &temp2);
43 apply(0, &temp2<>);
44 apply(0, &temp2<int>);
47 apply(0, &temp2<long>); // expected-error {{no matching function for call to 'apply'}}
80 template<class A, class B> B temp2(A);
83 // (even though partial application temp2<int> could in theory
85 invoke(&temp2); // expected-error {{no matching function for call to 'invoke'}}
86 invoke(&temp2<>); // expected-error {{no matching function for call to 'invoke'}}
87 invoke(&temp2<int>); // expected-error {{no matching function for call to 'invoke'}}
90 invoke(&temp2<int, void>);
93 invoke(&temp2<int, int>); // expected-error {{no matching function for call to 'invoke'}}