Source file src/cmd/cgo/internal/testplugin/testdata/unnamed2/main.go
1 // Copyright 2016 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 //go:build ignore 6 7 package main 8 9 // // No C code required. 10 import "C" 11 12 func FuncInt() int { return 2 } 13 14 func FuncRecursive() X { return X{} } 15 16 type Y struct { 17 X *X 18 } 19 type X struct { 20 Y Y 21 } 22 23 func main() {} 24