go issue41761 源码

  • 2022-07-15
  • 浏览 (1218)

golang issue41761 代码

文件路径:/misc/cgo/test/testdata/issue41761.go

// Copyright 2020 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.

package cgotest

/*
   typedef struct S S;
*/
import "C"

import (
	"cgotest/issue41761a"
	"testing"
)

func test41761(t *testing.T) {
	var x issue41761a.T
	_ = (*C.struct_S)(x.X)
}

相关信息

go 源码目录

相关文章

go cgo_linux_test 源码

go cgo_test 源码

go gcc68255 源码

go issue20266 源码

go issue23555 源码

go issue24161_darwin_test 源码

go issue26430 源码

go issue26743 源码

go issue27340 源码

go issue29563 源码

0  赞