testsuite: fix anon6 mangling [PR112846]
commit209fc1e5f6c67e55e579b69f617b0b678b1bfdf0
authorJason Merrill <jason@redhat.com>
Tue, 30 Jan 2024 17:07:21 +0000 (30 12:07 -0500)
committerJason Merrill <jason@redhat.com>
Tue, 30 Jan 2024 17:09:47 +0000 (30 12:09 -0500)
tree1b0e68ab81886f08f4156eeee1260095e6afb395
parentdd7aa986fd12fc24e9d2efb8a8b267acb2bf19ea
testsuite: fix anon6 mangling [PR112846]

As with r14-6796-g2fa122cae50cd8, avoid mangling compatibility aliases in
mangling tests, and test the new mangling.

PR c++/112846

gcc/testsuite/ChangeLog:

* g++.dg/abi/anon6.C: Specify ABI v18.
* g++.dg/abi/anon6a.C: New test for ABI v19.
gcc/testsuite/g++.dg/abi/anon6.C
gcc/testsuite/g++.dg/abi/anon6a.C [copied from gcc/testsuite/g++.dg/abi/anon6.C with 56% similarity]