From 4f5a297f7520cf5ba10a3a16f32ea0e1655b203f Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 19 Sep 2020 14:35:58 +0100 Subject: [PATCH] Darwin, testsuite : Skip a test that requires ELF. The symver support is only available to ELF targets. gcc/testsuite/ChangeLog: * gcc.dg/ipa/symver1.c: Skip for Darwin. --- gcc/testsuite/gcc.dg/ipa/symver1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/ipa/symver1.c b/gcc/testsuite/gcc.dg/ipa/symver1.c index 645de7ea259..fca52202cba 100644 --- a/gcc/testsuite/gcc.dg/ipa/symver1.c +++ b/gcc/testsuite/gcc.dg/ipa/symver1.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "only works for ELF targets" { *-*-darwin* } } */ __attribute__ ((__symver__ ("foo@VER_2"))) __attribute__ ((__symver__ ("foo@VER_3"))) -- 2.30.2