Debian Codegraph @

libgo/misc/cgo/test/issue42495.go

raw
1 // Copyright 2020 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package cgotest
6
7 // typedef struct { } T42495A;
8 // typedef struct { int x[0]; } T42495B;
9 import "C"
10
11 //export Issue42495A
12 func Issue42495A(C.T42495A) {}
13
14 //export Issue42495B
15 func Issue42495B(C.T42495B) {}