diff options
author | Marc Poulhiès <poulhies@adacore.com> | 2022-03-31 13:50:35 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-05-20 17:04:16 +0200 |
commit | d5cf2a1f15ef6b46881f600dabf70636f531de2e (patch) | |
tree | 2130b4d2a5d163daf7fed860fb3d752f921316bb /gcc | |
parent | e3b8b4f7814c54543d9b7ea3ee8cf2cb9cff351d (diff) | |
download | gcc-d5cf2a1f15ef6b46881f600dabf70636f531de2e.zip gcc-d5cf2a1f15ef6b46881f600dabf70636f531de2e.tar.gz gcc-d5cf2a1f15ef6b46881f600dabf70636f531de2e.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C b/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C index 40c2019..6fb1cc7 100644 --- a/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C +++ b/gcc/testsuite/g++.dg/ext/visibility/visibility-local-extern1.C @@ -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) |