summaryrefslogtreecommitdiffstats
path: root/misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go')
-rw-r--r--misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go b/misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go
new file mode 100644
index 0000000..9e45ebe
--- /dev/null
+++ b/misc/cgo/testshared/testdata/issue30768/issue30768lib/lib.go
@@ -0,0 +1,11 @@
+// Copyright 2019 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 issue30768lib
+
+// S is a struct that requires a generated hash function.
+type S struct {
+ A string
+ B int
+}