diff options
Diffstat (limited to 'misc/cgo/test/issue24161res/restype.go')
-rw-r--r-- | misc/cgo/test/issue24161res/restype.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/misc/cgo/test/issue24161res/restype.go b/misc/cgo/test/issue24161res/restype.go deleted file mode 100644 index 07cb98dbcf..0000000000 --- a/misc/cgo/test/issue24161res/restype.go +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2018 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. - -//go:build darwin - -package issue24161res - -/* -#cgo LDFLAGS: -framework CoreFoundation -#include <CoreFoundation/CoreFoundation.h> -*/ -import "C" -import ( - "reflect" - "testing" -) - -func Test(t *testing.T) { - if k := reflect.TypeOf(C.CFArrayCreate(0, nil, 0, nil)).Kind(); k != reflect.Uintptr { - t.Fatalf("bad kind %s\n", k) - } -} |