[PATCH, testsuite] Require alias support for pr90760.c
Iain Sandoe
iain@sandoe.co.uk
Thu Jun 13 17:23:00 GMT 2019
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.
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) {}
More information about the Gcc-patches
mailing list