aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/errors/errors_test.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2017-09-13 17:21:07 -0400
committerBryan Mills <bcmills@google.com>2017-09-14 02:24:39 +0000
commit107744e94c4e62272962eba9195bc14a7eb69a09 (patch)
treedaa201648f5004cfe7b33b4913259717d76a76ed /misc/cgo/errors/errors_test.go
parent814d92230a6befef18084fdf62431a9e0ecab7d4 (diff)
downloadgo-107744e94c4e62272962eba9195bc14a7eb69a09.tar.xz
misc/cgo/errors: test that the Go rune type is not identical to C.int
rune has a well-defined size, but C.int is implementation-specified. Using one as the other should require an explicit conversion. updates #13467 Change-Id: I53ab2478427dca790efdcc197f6b8d9fbfbd1847 Reviewed-on: https://go-review.googlesource.com/63730 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc/cgo/errors/errors_test.go')
-rw-r--r--misc/cgo/errors/errors_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cgo/errors/errors_test.go b/misc/cgo/errors/errors_test.go
index e2b91063a6..d2e833c52c 100644
--- a/misc/cgo/errors/errors_test.go
+++ b/misc/cgo/errors/errors_test.go
@@ -114,6 +114,7 @@ func TestReportsTypeErrors(t *testing.T) {
"issue11097b.go",
"issue13129.go",
"issue13423.go",
+ "issue13467.go",
"issue13635.go",
"issue13830.go",
"issue16116.go",