Source file src/cmd/cgo/internal/test/issue41761.go

     1  // Copyright 2020 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  package cgotest
     6  
     7  /*
     8     typedef struct S41761 S41761;
     9  */
    10  import "C"
    11  
    12  import (
    13  	"cmd/cgo/internal/test/issue41761a"
    14  	"testing"
    15  )
    16  
    17  func test41761(t *testing.T) {
    18  	var x issue41761a.T
    19  	_ = (*C.struct_S41761)(x.X)
    20  }
    21  

View as plain text