2020-10-02 16:48:50 -06:00
|
|
|
// 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
|
|
|
|
|
|
|
|
/*
|
2022-10-21 13:18:14 -06:00
|
|
|
typedef struct S41761 S41761;
|
2020-10-02 16:48:50 -06:00
|
|
|
*/
|
|
|
|
import "C"
|
|
|
|
|
|
|
|
import (
|
2022-10-21 13:18:14 -06:00
|
|
|
"misc/cgo/test/issue41761a"
|
2020-10-02 16:48:50 -06:00
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func test41761(t *testing.T) {
|
|
|
|
var x issue41761a.T
|
2022-10-21 13:18:14 -06:00
|
|
|
_ = (*C.struct_S41761)(x.X)
|
2020-10-02 16:48:50 -06:00
|
|
|
}
|