From 109be507377fe7f6e8819ac94041d3fdcdf6fd2f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 15:18:25 +0200 Subject: Adding upstream version 1.19.8. Signed-off-by: Daniel Baumann --- misc/cgo/test/testdata/issue26743/a.go | 11 +++++++++++ misc/cgo/test/testdata/issue26743/b.go | 9 +++++++++ 2 files changed, 20 insertions(+) create mode 100644 misc/cgo/test/testdata/issue26743/a.go create mode 100644 misc/cgo/test/testdata/issue26743/b.go (limited to 'misc/cgo/test/testdata/issue26743') diff --git a/misc/cgo/test/testdata/issue26743/a.go b/misc/cgo/test/testdata/issue26743/a.go new file mode 100644 index 0000000..a3df179 --- /dev/null +++ b/misc/cgo/test/testdata/issue26743/a.go @@ -0,0 +1,11 @@ +// 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. + +package issue26743 + +// typedef unsigned int uint; +// int C1(uint x) { return x; } +import "C" + +var V1 = C.C1(0) diff --git a/misc/cgo/test/testdata/issue26743/b.go b/misc/cgo/test/testdata/issue26743/b.go new file mode 100644 index 0000000..c5f1ae4 --- /dev/null +++ b/misc/cgo/test/testdata/issue26743/b.go @@ -0,0 +1,9 @@ +// 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. + +package issue26743 + +import "C" + +var V2 C.uint -- cgit v1.2.3