From dfa70aacecca54bcd2d60156f99dc7b4f20fdd8a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 8 May 2009 15:21:41 -0700 Subject: move things out of sys into os and runtime R=r OCL=28569 CL=28573 --- test/char_lit.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/char_lit.go') diff --git a/test/char_lit.go b/test/char_lit.go index d45ecf398..6699442dc 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) } } -- cgit v1.2.1