diff options
-rw-r--r-- | gcc/testsuite/g++.dg/abi/pure-virtual1.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/abi/pure-virtual1.C b/gcc/testsuite/g++.dg/abi/pure-virtual1.C index 86cc9f6..538e2cb 100644 --- a/gcc/testsuite/g++.dg/abi/pure-virtual1.C +++ b/gcc/testsuite/g++.dg/abi/pure-virtual1.C @@ -2,6 +2,7 @@ // { dg-do link } // { dg-require-weak } // { dg-additional-options "-fno-rtti -nodefaultlibs -lc" } +// { dg-additional-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } // { dg-xfail-if "AIX weak" { powerpc-ibm-aix* } } struct A |