src/cmd/cgo/internal/testcshared/testdata/issue68411/issue68411.go
raw| 1 | // Copyright 2025 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 main |
| 6 | |
| 7 | import "C" |
| 8 | |
| 9 | //export exportFuncWithNoParams |
| 10 | func exportFuncWithNoParams() {} |
| 11 | |
| 12 | //export exportFuncWithParams |
| 13 | func exportFuncWithParams(a, b int) {} |
| 14 | |
| 15 | func main() {} |