aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testgodefs/testdata/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testgodefs/testdata/main.go')
-rw-r--r--misc/cgo/testgodefs/testdata/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/cgo/testgodefs/testdata/main.go b/misc/cgo/testgodefs/testdata/main.go
index 4a3f6a701cc..5c670f3d329 100644
--- a/misc/cgo/testgodefs/testdata/main.go
+++ b/misc/cgo/testgodefs/testdata/main.go
@@ -28,6 +28,9 @@ var v7 = S{}
// Test that #define'd type is fully defined
var _ = issue38649{X: 0}
+// Test that prefixes do not cause duplicate field names.
+var _ = Issue48396{Fd: 1, Bpf_fd: 2}
+
func main() {
pass := true