testsuite, Darwin: Skip an unsupported test.

Darwin does not support patchable function entries, skip the test
there.

gcc/testsuite/ChangeLog:

	* g++.dg/modules/pr105169_a.C: Skip the test on Darwin.
	* g++.dg/modules/pr105169_b.C: Likewise.
This commit is contained in:
Iain Sandoe 2022-06-19 10:28:05 +01:00
parent 125bf21299
commit 1b23812484
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/* { dg-module-do link } */
/* { dg-module-do link { target { ! *-*-darwin* } } } */
/* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
/* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */

View file

@ -1,4 +1,4 @@
/* { dg-module-do link } */
/* { dg-module-do link { target { ! *-*-darwin* } } } */
/* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
/* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */