summaryrefslogtreecommitdiff
path: root/test/interface4.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/interface4.go')
-rw-r--r--test/interface4.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/interface4.go b/test/interface4.go
index 68c5efafb..b87130937 100644
--- a/test/interface4.go
+++ b/test/interface4.go
@@ -9,6 +9,8 @@
package main
+import "os"
+
type I interface { M() int64 }
type BigPtr struct { a, b, c, d int64 }
@@ -70,6 +72,6 @@ func main() {
nonptrs();
if bad {
- sys.Exit(1)
+ os.Exit(1)
}
}