a.go 394 B

12345678910111213141516171819
  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. package issue30527
  5. import "math"
  6. /*
  7. #include <inttypes.h>
  8. static void issue30527F(char **p, uint64_t mod, uint32_t unused) {}
  9. */
  10. import "C"
  11. func G(p **C.char) {
  12. C.issue30527F(p, math.MaxUint64, 1)
  13. C.issue30527F(p, 1<<64-1, Z)
  14. }