Darwin, testsuite : Skip a test that requires ELF.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 19 Sep 2020 13:35:58 +0000 (14:35 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 21 Sep 2020 18:31:22 +0000 (19:31 +0100)
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

index 645de7e..fca5220 100644 (file)
@@ -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")))