// RUN: %clang_cc1 %s -E -verify -DOPERATOR_NAMES
// RUN: %clang_cc1 %s -E -verify -fno-operator-names
//expected-error@+3 {{token is not a valid binary operator in a preprocessor subexpression}}
// Valid because 'and' is a spelling of '&&'
// Not valid in C++ unless -fno-operator-names is passed:
//expected-error@+2 {{C++ operator 'and' (aka '&&') used as a macro name}}
//expected-error@+2 {{C++ operator 'xor' (aka '^') used as a macro name}}
// For error recovery we continue as though the identifier was a macro name regardless of -fno-operator-names.
//expected-error@+3 {{C++ operator 'and' (aka '&&') used as a macro name}}
//expected-warning@+2 {{and is defined}}
//expected-error@+2 {{invalid token at start of a preprocessor expression}}
//expected-error@+2 {{invalid token at start of a preprocessor expression}}