test/fixedbugs/issue73483.go
raw| 1 | // run -race |
| 2 | |
| 3 | //go:build race && 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 | /* |
| 12 | int v[8192]; |
| 13 | */ |
| 14 | import "C" |
| 15 | |
| 16 | var x [8192]C.int |
| 17 | |
| 18 | func main() { |
| 19 | copy(C.v[:], x[:]) |
| 20 | } |