summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug060.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug060.go')
-rw-r--r--test/fixedbugs/bug060.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/fixedbugs/bug060.go b/test/fixedbugs/bug060.go
index 5d5fc4a7b..82778b838 100644
--- a/test/fixedbugs/bug060.go
+++ b/test/fixedbugs/bug060.go
@@ -6,12 +6,14 @@
package main
+import "os"
+
func main() {
m := make(map[int]int);
m[0] = 0;
m[0]++;
if m[0] != 1 {
print("map does not increment\n");
- sys.Exit(1)
+ os.Exit(1)
}
}