testsuite: XFAIL linkage testcases on AIX.

The template linkage2.C and linkage3.C testcases expect a
decoration that does not match AIX assembler syntax.  Expect failure.

gcc/testsuite/ChangeLog:
	* g++.dg/template/linkage2.C: XFAIL on AIX.
	* g++.dg/template/linkage3.C: Same.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
This commit is contained in:
David Edelsohn
2023-12-28 14:42:14 -05:00
parent d74cceb6d4
commit bf5c00d7ee
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
// PR c++/70413
// { dg-do compile { target c++11 } }
// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z" } }
// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z" { xfail powerpc-*-aix* } } }
namespace {
template<class> struct A;

View File

@@ -1,5 +1,5 @@
// PR c++/70413
// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z" } }
// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z" { xfail powerpc-*-aix* } } }
namespace {
struct A {