summaryrefslogtreecommitdiff
path: root/test/cmplxdivide.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmplxdivide.go')
-rw-r--r--test/cmplxdivide.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cmplxdivide.go b/test/cmplxdivide.go
index 92a98356d..40c84486d 100644
--- a/test/cmplxdivide.go
+++ b/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.")
+ }
}