summaryrefslogtreecommitdiff
path: root/test/cmplxdivide.go
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@debian.org>2013-03-04 21:27:36 +0100
committerMichael Stapelberg <michael@stapelberg.de>2013-03-04 21:27:36 +0100
commit04b08da9af0c450d645ab7389d1467308cfc2db8 (patch)
treedb247935fa4f2f94408edc3acd5d0d4f997aa0d8 /test/cmplxdivide.go
parent917c5fb8ec48e22459d77e3849e6d388f93d3260 (diff)
downloadgolang-8a38527ecb7e0f900b0ed6217a6891cf4e5a22a4.tar.gz
Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304
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.")
+ }
}