aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testshared/testdata/issue47837/main/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testshared/testdata/issue47837/main/main.go')
-rw-r--r--misc/cgo/testshared/testdata/issue47837/main/main.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/cgo/testshared/testdata/issue47837/main/main.go b/misc/cgo/testshared/testdata/issue47837/main/main.go
new file mode 100644
index 00000000000..77c6f343793
--- /dev/null
+++ b/misc/cgo/testshared/testdata/issue47837/main/main.go
@@ -0,0 +1,14 @@
+// Copyright 2021 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 (
+ "testshared/issue47837/a"
+)
+
+func main() {
+ var vara a.ImplA
+ a.TheFuncWithArgA(&vara)
+}