]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/testplugin/testdata/issue22295.pkg/plugin.go
misc/cgo: move easy tests to cmd/cgo/internal
[gostls13.git] / misc / cgo / testplugin / testdata / issue22295.pkg / plugin.go
diff --git a/misc/cgo/testplugin/testdata/issue22295.pkg/plugin.go b/misc/cgo/testplugin/testdata/issue22295.pkg/plugin.go
deleted file mode 100644 (file)
index 46b08a4..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2017 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.
-
-package main
-
-var f *int
-
-func init() {
-       f = new(int)
-       *f = 2503
-}
-
-func F() int { return *f }
-
-func main() {}