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
9package main
10
11// #include <stdlib.h>
12import "C"
13
14func main() {
15	C.malloc(100)
16}
17