commit | 918afd9491bd07aed10bc364012683fc52c734bb | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri May 08 15:21:41 2009 -0700 |
committer | Russ Cox <rsc@golang.org> | Fri May 08 15:21:41 2009 -0700 |
tree | 5b8c80c41b4110b57cef1a0945350c2caf7557e2 | |
parent | c367d1b789b0aed59e871aee588d776998a8f479 [diff] [blame] |
move things out of sys into os and runtime R=r OCL=28569 CL=28573
diff --git a/test/typeswitch.go b/test/typeswitch.go index 5ad694d..0a421ae 100644 --- a/test/typeswitch.go +++ b/test/typeswitch.go
@@ -6,6 +6,8 @@ package main +import "os" + const ( Bool = iota; Int; @@ -31,7 +33,7 @@ func assert(b bool, s string) { if !b { println(s); - sys.Exit(1); + os.Exit(1); } }