summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/script/run_hello.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/go/testdata/script/run_hello.txt')
-rw-r--r--libgo/go/cmd/go/testdata/script/run_hello.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/testdata/script/run_hello.txt b/libgo/go/cmd/go/testdata/script/run_hello.txt
new file mode 100644
index 00000000000..8c4c1c16833
--- /dev/null
+++ b/libgo/go/cmd/go/testdata/script/run_hello.txt
@@ -0,0 +1,7 @@
+# hello world
+go run hello.go
+stderr 'hello world'
+
+-- hello.go --
+package main
+func main() { println("hello world") }