diff options
author | Rob Pike <r@golang.org> | 2008-06-27 14:15:06 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-06-27 14:15:06 -0700 |
commit | a82bdf049a2e4899a61283bfbe911df3a19a9b41 (patch) | |
tree | ded91bb1ff114ecb38376653ff550b28770c28e2 /test/ken/rob1.go | |
parent | eaeba3a481074022279836afc101c8c28a6841f8 (diff) | |
download | golang-a82bdf049a2e4899a61283bfbe911df3a19a9b41.tar.gz |
export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)
SVN=125173
Diffstat (limited to 'test/ken/rob1.go')
-rw-r--r-- | test/ken/rob1.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ken/rob1.go b/test/ken/rob1.go index 97a9ca897..74405e5e8 100644 --- a/test/ken/rob1.go +++ b/test/ken/rob1.go @@ -67,7 +67,7 @@ Print_BUG() } func -main() int32 +main() { list := new(List); list.Init(); @@ -78,5 +78,4 @@ main() int32 } list.Print(); - return 0; } |