Lines Matching +full:- +full:- +full:requested +full:- +full:by
1 // RUN: %clang_cc1 -fexceptions -fcxx-exceptions -fsyntax-only -verify %s
29 // expected-error@-1 {{no member named 'y' in 'A'}}
34 void f(A, int*) noexcept; // expected-error {{exception specification in declaration does not match…
35 … // expected-note@-1 {{in instantiation of exception specification for 'f<A, int>' requested here}}
36 // expected-note@-2 {{previous declaration is here}}
48 void f(T, U**) noexcept(T::y); // expected-error {{no member named 'y' in 'A'}}
54 void f(A, int*) noexcept; // expected-note {{previous declaration is here}}
57 void f(A, int*); // expected-error {{'f<A, int>' is missing exception specification 'noexcept'}}
60 void f(A, int**) noexcept; // expected-error {{exception specification in declaration does not matc…
61 … // expected-note@-1 {{in instantiation of exception specification for 'f<A, int>' requested here}}
62 // expected-note@-2 {{previous declaration is here}}
69 void f(A, int***) noexcept; // expected-note {{previous declaration is here}}
72 void f(A, int***); // expected-error {{'f<A, int>' is missing exception specification 'noexcept'}}
84 // Deduction should succeed for both candidates, and #2 should be selected by overload resolution.
96 // expected-error@-1 {{no member named 'y' in 'A'}}
98 // Deduction should succeed for both candidates, and #2 should be selected by overload resolution.
100 void (*x)(A, int*) = f; // expected-note {{in instantiation of exception specification for 'f<A, in…