testsuite: arm: C++26 uses __equal() instead of operator==()
Update test case to align with used function in C++26. gcc/testsuite/ChangeLog: * g++.dg/abi/arm_rtti1.C: Check for expected symbol in C++26. Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
This commit is contained in:
parent
b117201385
commit
898f333413
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
|||
// { dg-options "-O2" }
|
||||
// Check that, even when optimizing, we emit an out-of-line call to
|
||||
// the type-info comparison function.
|
||||
// { dg-final { scan-assembler _ZNKSt9type_infoeqERKS_ } }
|
||||
// { dg-final { scan-assembler _ZNKSt9type_infoeqERKS_ { target { ! c++26 } } } }
|
||||
// { dg-final { scan-assembler _ZNKSt9type_info7__equalERKS_ { target { c++26 } } } }
|
||||
|
||||
#include <typeinfo>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue