]> Cypherpunks.ru repositories - gostls13.git/blob - misc/cgo/test/testdata/issue30527/a.go
eb50147b39fcf84013ef31c910e503fa8a247e57
[gostls13.git] / misc / cgo / test / testdata / issue30527 / a.go
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 package issue30527
6
7 import "math"
8
9 /*
10 #include <inttypes.h>
11
12 static void issue30527F(char **p, uint64_t mod, uint32_t unused) {}
13 */
14 import "C"
15
16 func G(p **C.char) {
17         C.issue30527F(p, math.MaxUint64, 1)
18         C.issue30527F(p, 1<<64-1, Z)
19 }