Lines Matching defs:g
16 constexpr static int g() requires C<I> { return 0; } // #candidate-0
17 constexpr static int g() requires D<I> { return 1; } // #candidate-1
39 constexpr int A<0>::g() { return 2; }
42 constexpr int A<8>::g() { return 3; }
45 constexpr int A<6>::g() { return 4; } // expected-error {{ambiguous member function specialization 'N0::A<6>::g' of 'N0::A::g'}}
46 // expected-note@#candidate-0 {{member function specialization matches 'g'}}
47 // expected-note@#candidate-1 {{member function specialization matches 'g'}}
49 static_assert(A<9>::g() == 0);
50 static_assert(A<1>::g() == 1);
51 static_assert(A<0>::g() == 2);
52 static_assert(A<8>::g() == 3);
81 void g() requires C<I> && E<I>; // expected-note {{member function specialization matches 'g'}}
82 void g() requires C<I> && D<I>; // expected-note {{member function specialization matches 'g'}}
83 void g() requires C<I> && D<I> && true; // expected-note {{member function specialization matches 'g'}}
90 void A<3>::g(); // expected-error {{ambiguous member function specialization 'N1::A<3>::g' of 'N1::A::g'}}