src/cmd/cgo/internal/test/issue30527.go
raw| 1 | // Copyright 2019 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 | //go:build cgo |
| 6 | |
| 7 | // Issue 30527: function call rewriting casts untyped |
| 8 | // constants to int because of ":=" usage. |
| 9 | |
| 10 | package cgotest |
| 11 | |
| 12 | import "cmd/cgo/internal/test/issue30527" |
| 13 | |
| 14 | func issue30527G() { |
| 15 | issue30527.G(nil) |
| 16 | } |