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 645de7ea259ee346d53c6048ae5e8cd59d7ce196..fca52202cba5540b8ae522cff444c4b1ed89c7a4 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")))