Home
last modified time | relevance | path

Searched refs:ANeg (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dcompare-cxx2a.cpp250 enum EnumA : int {A, ANeg = -1, AMax = __INT_MAX__}; in test_enum_integral_compare() enumerator
258 …(void)(ANeg <=> (unsigned)0); // expected-error {{argument to 'operator<=>' evaluates to -1, which… in test_enum_integral_compare()
259 (void)((unsigned)0 <=> ANeg); // expected-error {{cannot be narrowed}} in test_enum_integral_compare()