[testsuite] Require alias support for pr90760.c

Message ID 8660B6BA-F83C-4929-BE10-62A935345647@sandoe.co.uk
State New
Headers show
Series
  • [testsuite] Require alias support for pr90760.c
Related show

Commit Message

Iain Sandoe June 13, 2019, 5:23 p.m.
This test fails on Darwin, because it doesn’t support symbol aliases.
Fixed by adding the dg-requires line,
tested on x86_64-darwin16, applied as obvious,
thanks
Iain

gcc/testsuite/
2019-06-13  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc.dg/pr90760.c: Require alias support.

Patch

diff --git a/gcc/testsuite/gcc.dg/pr90760.c b/gcc/testsuite/gcc.dg/pr90760.c
index 525a21a..6092a4e 100644
--- a/gcc/testsuite/gcc.dg/pr90760.c
+++ b/gcc/testsuite/gcc.dg/pr90760.c
@@ -1,5 +1,6 @@ 
 /* PR c/90760 */
 /* { dg-do compile } */
+/* { dg-require-alias "" } */
 /* { dg-require-named-sections "" } */
 
 void bar (void) {}