Source file src/cmd/cgo/internal/test/issue23555a/a.go

     1  // Copyright 2018 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 issue23555
     6  
     7  // #include <stdlib.h>
     8  import "C"
     9  
    10  func X() {
    11  	C.free(C.malloc(10))
    12  }
    13  

View as plain text