mirror of
https://github.com/golang/go
synced 2024-11-07 04:16:10 -07:00
c29370c98e
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>
11 lines
320 B
Go
11 lines
320 B
Go
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Issue 26743: typedef of uint leads to inconsistent typedefs error.
|
|
// No runtime test; just make sure it compiles.
|
|
|
|
package cgotest
|
|
|
|
import _ "./issue26743"
|