summaryrefslogtreecommitdiff
path: root/misc/cgo/stdio/hello.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/stdio/hello.go')
-rw-r--r--misc/cgo/stdio/hello.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/cgo/stdio/hello.go b/misc/cgo/stdio/hello.go
index 58fc6d574..4ab3c7447 100644
--- a/misc/cgo/stdio/hello.go
+++ b/misc/cgo/stdio/hello.go
@@ -2,9 +2,11 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build ignore
+
package main
-import "stdio"
+import "../stdio"
func main() {
stdio.Stdout.WriteString(stdio.Greeting + "\n")