diff options
Diffstat (limited to 'clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp')
-rw-r--r-- | clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp b/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp index 3826a4127910..95d6a55aee66 100644 --- a/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp +++ b/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp @@ -25,7 +25,7 @@ namespace not_bool { enum E {}; E operator==(Y, Z); // expected-note {{here}} - bool h = z == y; // expected-warning {{ISO C++20 requires return type of selected 'operator==' function for rewritten '==' comparison to be 'bool', not 'not_bool::E'}} + bool h = z == y; // expected-warning {{ISO C++20 requires return type of selected 'operator==' function for rewritten '==' comparison to be 'bool', not 'E'}} } struct X { bool equal; }; |