test/fixedbugs/issue71225.go
raw| 1 | // build |
| 2 | |
| 3 | //go:build cgo |
| 4 | |
| 5 | // Copyright 2025 The Go Authors. All rights reserved. |
| 6 | // Use of this source code is governed by a BSD-style |
| 7 | // license that can be found in the LICENSE file. |
| 8 | |
| 9 | package main |
| 10 | |
| 11 | // #cgo CFLAGS: -Werror -Wunused-parameter |
| 12 | import "C" |
| 13 | |
| 14 | func main() { |
| 15 | } |
| 16 | |
| 17 | //export Fn |
| 18 | func Fn() { |
| 19 | } |