summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug006.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug006.go')
-rw-r--r--test/fixedbugs/bug006.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/fixedbugs/bug006.go b/test/fixedbugs/bug006.go
index 2fbde9c9a..e7694f95b 100644
--- a/test/fixedbugs/bug006.go
+++ b/test/fixedbugs/bug006.go
@@ -6,6 +6,8 @@
package main
+import "os"
+
const (
x float = iota;
g float = 4.5 * iota;
@@ -13,5 +15,5 @@ const (
func main() {
if g == 0.0 { print("zero\n");}
- if g != 4.5 { print(" fail\n"); sys.Exit(1); }
+ if g != 4.5 { print(" fail\n"); os.Exit(1); }
}