mirror of
https://github.com/golang/go
synced 2025-04-07 23:54:28 +00:00
Fixes #71225 Change-Id: I3e60fdf632f2aa0e63b24225f13e4ace49906925 Reviewed-on: https://go-review.googlesource.com/c/go/+/642196 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
20 lines
298 B
Go
20 lines
298 B
Go
// build
|
|
|
|
//go:build cgo
|
|
|
|
// Copyright 2025 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 main
|
|
|
|
// #cgo CFLAGS: -Werror -Wunused-parameter
|
|
import "C"
|
|
|
|
func main() {
|
|
}
|
|
|
|
//export Fn
|
|
func Fn() {
|
|
}
|