]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/testplugin/testdata/unnamed1/main.go
misc/cgo: move easy tests to cmd/cgo/internal
[gostls13.git] / misc / cgo / testplugin / testdata / unnamed1 / main.go
diff --git a/misc/cgo/testplugin/testdata/unnamed1/main.go b/misc/cgo/testplugin/testdata/unnamed1/main.go
deleted file mode 100644 (file)
index 1620dc4..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2016 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.
-
-//go:build ignore
-
-package main
-
-// // No C code required.
-import "C"
-
-func FuncInt() int { return 1 }
-
-// Add a recursive type to check that type equality across plugins doesn't
-// crash. See https://golang.org/issues/19258
-func FuncRecursive() X { return X{} }
-
-type Y struct {
-       X *X
-}
-type X struct {
-       Y Y
-}
-
-func main() {}