summaryrefslogtreecommitdiff
path: root/misc/swig/stdio/hello.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/swig/stdio/hello.go')
-rw-r--r--misc/swig/stdio/hello.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/swig/stdio/hello.go b/misc/swig/stdio/hello.go
new file mode 100644
index 000000000..eec294278
--- /dev/null
+++ b/misc/swig/stdio/hello.go
@@ -0,0 +1,11 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package main
+
+import "swig/file"
+
+func main() {
+ file.Puts("Hello, world")
+}