c++, testsuite - require alias support for a test.

The test for pr84497 uses a facility that requires alias support from
the target, and therefore fails on targets without.  Add a suitable 
dg-require statement.

2019-05-31  Iain Sandoe  <iain@sandoe.co.uk>

	* g++.dg/cpp0x/pr84497.C: Require alias support.

From-SVN: r271801
This commit is contained in:
Iain Sandoe 2019-05-31 07:23:14 +00:00 committed by Iain Sandoe
parent 4ef2ef0c03
commit 0eee8eaa83
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-05-31 Iain Sandoe <iain@sandoe.co.uk>
* g++.dg/cpp0x/pr84497.C: Require alias support.
2019-05-31 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/i386/falign-functions-3.c: Adjust align syntax

View File

@ -1,6 +1,7 @@
// PR 84497 mismatch with thread constructor fn weakness
// { dg-do compile { target c++11 } }
// { dg-require-weak "" }
// { dg-require-alias "" }
// { dg-skip-if "No .weak" { { hppa*-*-hpux* } && { ! lp64 } } }
struct Base