diff options
Diffstat (limited to 'libgo/misc/cgo/errors/issue13423.go')
-rw-r--r-- | libgo/misc/cgo/errors/issue13423.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/misc/cgo/errors/issue13423.go b/libgo/misc/cgo/errors/issue13423.go new file mode 100644 index 0000000..fc19157 --- /dev/null +++ b/libgo/misc/cgo/errors/issue13423.go @@ -0,0 +1,12 @@ +// Copyright 2015 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 + +// #include <stdio.h> +import "C" + +func main() { + _ = C.fopen() // ERROR HERE +} |