]> Cypherpunks.ru repositories - gostls13.git/blob - misc/cgo/test/testdata/issue24161arg/use.go
3e749440131ae3c74bae2641268b33db6ced7846
[gostls13.git] / misc / cgo / test / testdata / issue24161arg / use.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 // +build darwin
6
7 package issue24161arg
8
9 /*
10 #cgo LDFLAGS: -framework CoreFoundation
11 #include <CoreFoundation/CoreFoundation.h>
12 */
13 import "C"
14 import "testing"
15
16 func Test(t *testing.T) {
17         a := test24161array()
18         C.CFArrayCreateCopy(0, a)
19 }