summaryrefslogtreecommitdiff
path: root/test/int_lit.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/int_lit.go')
-rw-r--r--test/int_lit.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/int_lit.go b/test/int_lit.go
index 4121070f3..1f4d318af 100644
--- a/test/int_lit.go
+++ b/test/int_lit.go
@@ -6,6 +6,8 @@
package main
+import "os"
+
func main() {
s :=
0 +
@@ -18,6 +20,6 @@ func main() {
0X123;
if s != 788 {
print("s is ", s, "; should be 788\n");
- sys.Exit(1);
+ os.Exit(1);
}
}