diff options
| author | Daniel Morsing <daniel.morsing@gmail.com> | 2014-03-27 20:23:16 +0000 |
|---|---|---|
| committer | Daniel Morsing <daniel.morsing@gmail.com> | 2014-03-27 20:23:16 +0000 |
| commit | 0f82cfd3f0ef84b553cd0f1e8cd578b3c29ea5d9 (patch) | |
| tree | 5f97c7296e641fcd1335018240be3a0de5daefc9 /misc/cgo/errors/test.bash | |
| parent | 444dd26bf4c585ce71dfcd9e581865ba3047dc75 (diff) | |
| download | go-0f82cfd3f0ef84b553cd0f1e8cd578b3c29ea5d9.tar.xz | |
cmd/cgo: enforce typing of 0-sized types
cgo represents all 0-sized and unsized types internally as [0]byte. This means that pointers to incomplete types would be interchangable, even if given a name by typedef.
Fixes #7409.
LGTM=iant
R=golang-codereviews, bradfitz, iant
CC=golang-codereviews
https://golang.org/cl/76450043
Diffstat (limited to 'misc/cgo/errors/test.bash')
| -rwxr-xr-x | misc/cgo/errors/test.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cgo/errors/test.bash b/misc/cgo/errors/test.bash index 697ae2fed2..f0f60c8445 100755 --- a/misc/cgo/errors/test.bash +++ b/misc/cgo/errors/test.bash @@ -26,6 +26,7 @@ check() { check err1.go check err2.go +check err3.go rm -rf errs _obj exit 0 |
