summaryrefslogtreecommitdiff
path: root/test/recover2.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-12-15 11:49:23 -0500
committerRuss Cox <rsc@golang.org>2010-12-15 11:49:23 -0500
commit4bb8ed01e271acfae88476a58c064147dc225ebb (patch)
tree210ca3589049864d0c33e15ba3c42b0cbe7945fa /test/recover2.go
parentd3993337c24d74c4d337a4973d04cec1ff0b3d2a (diff)
downloadgo-4bb8ed01e271acfae88476a58c064147dc225ebb.tar.gz
remove nacl
The recent linker changes broke NaCl support a month ago, and there are no known users of it. The NaCl code can always be recovered from the repository history. R=adg, r CC=golang-dev http://codereview.appspot.com/3671042
Diffstat (limited to 'test/recover2.go')
-rw-r--r--test/recover2.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/recover2.go b/test/recover2.go
index 48b050330..f33af4457 100644
--- a/test/recover2.go
+++ b/test/recover2.go
@@ -7,7 +7,6 @@
// Test of recover for run-time errors.
// TODO(rsc):
-// integer divide by zero?
// null pointer accesses
package main
@@ -15,7 +14,6 @@ package main
import (
"os"
"strings"
- "syscall"
)
var x = make([]byte, 10)
@@ -83,10 +81,6 @@ func test6() {
}
func test7() {
- if syscall.OS == "nacl" {
- // NaCl cannot handle traps
- return
- }
defer mustRecover("divide by zero")
var x, y int
println(x / y)