github.com/epfl-dcsl/gotee@v0.0.0-20200909122901-014b35f5e5e9/src/cmd/vet/testdata/cgo/cgo2.go (about) 1 // Copyright 2016 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 // Test the cgo checker on a file that doesn't use cgo. 6 7 package testdata 8 9 var _ = C.f(*p(**p)) 10 11 // Passing a pointer (via the slice), but C isn't cgo. 12 var _ = C.f([]int{3})