aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue14729.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue14729.go')
-rw-r--r--test/fixedbugs/issue14729.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue14729.go b/test/fixedbugs/issue14729.go
index 88e01f9e16..9b30fd2715 100644
--- a/test/fixedbugs/issue14729.go
+++ b/test/fixedbugs/issue14729.go
@@ -10,5 +10,5 @@ package main
import "unsafe"
-type s struct { unsafe.Pointer } // ERROR "embedded type cannot be a pointer"
+type s struct { unsafe.Pointer } // ERROR "embedded type cannot be a pointer|embedded type may not be a pointer"
type s1 struct { p unsafe.Pointer }