summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/cmplxdivide.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/go.test/test/cmplxdivide.go')
-rw-r--r--gcc/testsuite/go.test/test/cmplxdivide.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/go.test/test/cmplxdivide.go b/gcc/testsuite/go.test/test/cmplxdivide.go
index 92a98356d0a..40c84486da0 100644
--- a/gcc/testsuite/go.test/test/cmplxdivide.go
+++ b/gcc/testsuite/go.test/test/cmplxdivide.go
@@ -45,4 +45,7 @@ func main() {
fmt.Printf("%v/%v: expected %v error; got %v\n", t.f, t.g, t.out, x)
}
}
+ if bad {
+ panic("cmplxdivide failed.")
+ }
}