| Index: gcc/gcc/testsuite/obj-c++.dg/dg.exp
|
| diff --git a/gcc/gcc/testsuite/obj-c++.dg/dg.exp b/gcc/gcc/testsuite/obj-c++.dg/dg.exp
|
| index 5fc1a976bbafec140d097c5b2c02c50ec86da5f3..109746467ec27bdaf0c4b0f691701bfb876e0dad 100644
|
| --- a/gcc/gcc/testsuite/obj-c++.dg/dg.exp
|
| +++ b/gcc/gcc/testsuite/obj-c++.dg/dg.exp
|
| @@ -31,7 +31,12 @@ dg-init
|
| set tests [lsort [find $srcdir/$subdir *.mm]]
|
|
|
| # Main loop.
|
| -dg-runtest $tests "" $DEFAULT_OBJCXXFLAGS
|
| +dg-runtest $tests "-fgnu-runtime" $DEFAULT_OBJCXXFLAGS
|
| +
|
| +# darwin targets can also run code with the NeXT runtime.
|
| +if [istarget "*-*-darwin*" ] {
|
| +dg-runtest $tests "-fnext-runtime" $DEFAULT_OBJCXXFLAGS
|
| +}
|
|
|
| # All done.
|
| dg-finish
|
|
|