summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.go/package1.go
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.go/package1.go')
-rw-r--r--gdb/testsuite/gdb.go/package1.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.go/package1.go b/gdb/testsuite/gdb.go/package1.go
new file mode 100644
index 00000000000..ec538bafaf0
--- /dev/null
+++ b/gdb/testsuite/gdb.go/package1.go
@@ -0,0 +1,11 @@
+package main
+
+import (
+ "fmt"
+ "package2"
+)
+
+func main () {
+ fmt.Println ("Shall we?")
+ package2.Foo ()
+}