aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp')
-rw-r--r--gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp b/gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp
index 729c63f2d38..9616ff11c06 100644
--- a/gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp
+++ b/gcc/testsuite/gm2/exceptions/run/pass/exceptions-run-pass.exp
@@ -29,7 +29,6 @@ load_lib gm2-torture.exp
set output [target_compile $srcdir/$subdir/cpp.cpp cpp.o object "-g"]
-set output [target_compile $srcdir/$subdir/mycpp.cpp mycpp.o object "-g"]
#
# notice this uses PIM libraries with exceptions - this is a useful test.
@@ -39,6 +38,7 @@ set output [target_compile $srcdir/$subdir/mycpp.cpp mycpp.o object "-g"]
set gm2src ${srcdir}/../m2
gm2_init_pim "${srcdir}/gm2/exceptions/run/pass"
+gm2_link_with "cpp.o"
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.mod]] {
# If we're only testing specific files and this isn't one of them, skip it.