1 // Copyright 2022 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 issue52611b 6 7 import "C" 8 9 func GetX1(bar *C.struct_Bar) int32 { 10 return int32(bar.X) 11 } 12