aboutsummaryrefslogtreecommitdiff
path: root/test/char_lit.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
committerRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
commit918afd9491bd07aed10bc364012683fc52c734bb (patch)
tree5b8c80c41b4110b57cef1a0945350c2caf7557e2 /test/char_lit.go
parentc367d1b789b0aed59e871aee588d776998a8f479 (diff)
downloadgo-918afd9491bd07aed10bc364012683fc52c734bb.tar.gz
go-918afd9491bd07aed10bc364012683fc52c734bb.zip
move things out of sys into os and runtime
R=r OCL=28569 CL=28573
Diffstat (limited to 'test/char_lit.go')
-rw-r--r--test/char_lit.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/char_lit.go b/test/char_lit.go
index d45ecf3980..6699442dc8 100644
--- a/test/char_lit.go
+++ b/test/char_lit.go
@@ -6,6 +6,8 @@
package main
+import "os"
+
func main() {
var i uint64 =
' ' +
@@ -33,10 +35,10 @@ func main() {
;
if '\Ucafebabe' != 0xcafebabe {
print("cafebabe wrong\n");
- sys.Exit(1)
+ os.Exit(1)
}
if i != 0xcc238de1 {
print("number is ", i, " should be ", 0xcc238de1, "\n");
- sys.Exit(1)
+ os.Exit(1)
}
}