// RUN: %clang_cc1 -fsyntax-only -verify -std=c++2a %s
// Make sure we accept this
;
bool ; // expected-note{{candidate template ignored: could not match 'A<X>' against 'B<int> *'}}
int
int
// FIXME: the location information for the note isn't very good
;
bool ; // \
// expected-error{{overloaded 'operator==' must have at least one parameter of class or enumeration type}} \
// expected-note{{candidate template ignored: substitution failure [with X = int]}}
int // expected-error{{no matching function for call to 'operator=='}} \
// expected-note{{in instantiation of function template specialization}}
// Ensure we take parameter list reversal into account in partial oredring.