summaryrefslogtreecommitdiff
path: root/misc/cgo/testgodefs/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testgodefs/main.go')
-rw-r--r--misc/cgo/testgodefs/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/cgo/testgodefs/main.go b/misc/cgo/testgodefs/main.go
index eaf91bc11..7faccf265 100644
--- a/misc/cgo/testgodefs/main.go
+++ b/misc/cgo/testgodefs/main.go
@@ -8,5 +8,8 @@ package main
var v1 T
var v2 = v1.L
+// Test that P, Q, and R all point to byte.
+var v3 = Issue8478{P: (*byte)(nil), Q: (**byte)(nil), R: (***byte)(nil)}
+
func main() {
}