1
0
mirror of https://github.com/golang/go synced 2024-09-29 18:14:28 -06:00
go/misc/cgo/test/issue26743
Ian Lance Taylor c29370c98e cmd/cgo: don't give inconsistent typedef error for cgo-defined types
The cgo tool predefines some C types such as C.uint. Don't give an
error if the type that cgo defines does not match the type in a header file.

Fixes #26743

Change-Id: I9ed3b4c482b558d8ffa8bf61eb3209415b7a9e3c
Reviewed-on: https://go-review.googlesource.com/127356
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2018-08-01 20:41:19 +00:00
..
a.go cmd/cgo: don't give inconsistent typedef error for cgo-defined types 2018-08-01 20:41:19 +00:00
b.go cmd/cgo: don't give inconsistent typedef error for cgo-defined types 2018-08-01 20:41:19 +00:00