]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/errors/testdata/issue50710.go
misc/cgo: move easy tests to cmd/cgo/internal
[gostls13.git] / misc / cgo / errors / testdata / issue50710.go
diff --git a/misc/cgo/errors/testdata/issue50710.go b/misc/cgo/errors/testdata/issue50710.go
deleted file mode 100644 (file)
index dffea22..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright 2022 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
-
-// size_t StrLen(_GoString_ s) {
-//     return _GoStringLen(s);
-// }
-import "C"
-
-func main() {
-       C.StrLen1() // ERROR HERE
-}