1
0
mirror of https://github.com/golang/go synced 2024-11-17 07:54: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
issue7757.go
issue8442.go
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