1
0
mirror of https://github.com/golang/go synced 2024-11-20 05:24:41 -07:00
go/misc/cgo/errors
Matthew Dempsky de640d369d cmd/cgo: handle another Clang DWARF quirk
Without the fix:

    $ CC=clang-3.5 ./test.bash
    misc/cgo/errors/test.bash: BUG: expected error output to contain "C.ushort" but saw:
    # command-line-arguments
    ./issue13129.go:13: cannot use int(0) (type int) as type C.unsignedshort in assignment

Fixes #13129.

Change-Id: I2c019d2d000f5bfa3e33c477e533aff97031a84f
Reviewed-on: https://go-review.googlesource.com/17207
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-11-25 21:13:41 +00:00
..
err1.go
err2.go
err3.go cmd/cgo: enforce typing of 0-sized types 2014-03-27 20:23:16 +00:00
issue7757.go cmd/cgo: make C function pointers non-assignable 2014-08-12 12:55:12 -07:00
issue8442.go cmd/cgo: check for compiler errors in the C preamble 2014-08-14 09:21:58 -07:00
issue11097a.go cmd/cgo: fix panic on references to non-existing C types 2015-10-05 22:37:07 +00:00
issue11097b.go cmd/cgo: fix panic on references to non-existing C types 2015-10-05 22:37:07 +00:00
issue13129.go cmd/cgo: handle another Clang DWARF quirk 2015-11-25 21:13:41 +00:00
ptr.go cmd/cgo, runtime: exported Go functions can't return a Go pointer 2015-11-19 18:28:39 +00:00
test.bash cmd/cgo: handle another Clang DWARF quirk 2015-11-25 21:13:41 +00:00