diff options
author | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-05-08 15:21:41 -0700 |
commit | 1ea895d9a458c9e4a91993924fcd39ce7f1dcabe (patch) | |
tree | 5b8c80c41b4110b57cef1a0945350c2caf7557e2 /test/if1.go | |
parent | 206ea17d5fe6ad6d6492afe73ec2d72ce399a3fd (diff) | |
download | golang-1ea895d9a458c9e4a91993924fcd39ce7f1dcabe.tar.gz |
move things out of sys into os and runtime
R=r
OCL=28569
CL=28573
Diffstat (limited to 'test/if1.go')
-rw-r--r-- | test/if1.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/if1.go b/test/if1.go index 1784d8239..3f3ef1597 100644 --- a/test/if1.go +++ b/test/if1.go @@ -6,6 +6,8 @@ package main +import "os" + func main() { count := 7; if one := 1; { @@ -13,6 +15,6 @@ func main() { } if count != 8 { print(count, " should be 8\n"); - sys.Exit(1) + os.Exit(1) } } |