testsuite: add missing dg-require-effective-target fpic

Require effective target fpic for newly added test.

gcc/testsuite/
	* g++.dg/ext/visibility/visibility-local-extern1.C: Add missing
	dg-require-effective-target fpic.
This commit is contained in:
Marc Poulhiès 2022-03-31 13:50:35 +00:00
parent e3b8b4f781
commit d5cf2a1f15

View File

@ -1,6 +1,7 @@
// PR c++/103291
// { dg-additional-options -fpic }
// { dg-final { scan-assembler-not "@GOTPCREL" } }
// { dg-require-effective-target fpic }
#pragma GCC visibility push(hidden)