Source file 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  }
    20  

View as plain text