Source file test/fixedbugs/issue34968.go

     1  // run -gcflags=all=-d=checkptr
     2  
     3  //go:build cgo
     4  
     5  // Copyright 2019 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  // #include <stdlib.h>
    12  import "C"
    13  
    14  func main() {
    15  	C.malloc(100)
    16  }
    17  

View as plain text