// Code generated by cmd/cgo; DO NOT EDIT.

//line /home/evie/packages/go/go-1.18-0/go/src/cmd/vet/testdata/cgo/cgo.go:1:1
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// This file contains tests for the cgo checker.

package testdata

// void f(void *p) {}
import _ "unsafe"

import "unsafe"

func CgoTests() {
	var c chan bool
	func() { _cgo0 := /*line :16:6*/*(*unsafe.Pointer)(unsafe.Pointer(&c)); _cgoCheckPointer(_cgo0, nil); _Cfunc_f(_cgo0); }() // ERROR "embedded pointer"
	func() { _cgoBase0 := /*line :17:21*/&c; _cgo0 := /*line :17:6*/unsafe.Pointer(_cgoBase0); _cgoCheckPointer(_cgoBase0, 0 == 0); _Cfunc_f(_cgo0); }()                     // ERROR "embedded pointer"
}
