Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(70)

Unified Diff: test/recover2.go

Issue 1686044: code review 1686044: complex divide: match C99 implementation (Closed)
Patch Set: code review 1686044: complex divide: match C99 implementation Created 14 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/golden.out ('k') | test/zerodivide.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/recover2.go
===================================================================
--- a/test/recover2.go
+++ b/test/recover2.go
@@ -81,11 +81,11 @@
}
func test7() {
- if syscall.ARCH == "arm" {
- // ARM doesn't have floating point yet
+ if syscall.ARCH == "arm" || syscall.OS == "nacl" {
+ // ARM doesn't have integer divide trap yet
return
}
- defer mustRecover("complex divide by zero")
- var x, y complex
+ defer mustRecover("divide by zero")
+ var x, y int
println(x / y)
}
« no previous file with comments | « test/golden.out ('k') | test/zerodivide.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b