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 7package main 8 9// // No C code required. 10import "C" 11 12func FuncInt() int { return 2 } 13 14func FuncRecursive() X { return X{} } 15 16type Y struct { 17 X *X 18} 19type X struct { 20 Y Y 21} 22 23func main() {} 24