]> Cypherpunks.ru repositories - gostls13.git/blob - src/cmd/cgo/internal/testerrors/testdata/notmatchedcfunction.go
cmd/cgo: disable #cgo noescape/nocallback until Go 1.23
[gostls13.git] / src / cmd / cgo / internal / testerrors / testdata / notmatchedcfunction.go
1 // Copyright 2023 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 package main
6
7 /*
8 // TODO(#56378): change back to "#cgo noescape noMatchedCFunction: no matched C function" in Go 1.23
9 // ERROR MESSAGE: #cgo noescape disabled until Go 1.23
10 #cgo noescape noMatchedCFunction
11 */
12 import "C"
13
14 func main() {
15 }