]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/errors/testdata/issue11097b.go
misc/cgo: move easy tests to cmd/cgo/internal
[gostls13.git] / misc / cgo / errors / testdata / issue11097b.go
diff --git a/misc/cgo/errors/testdata/issue11097b.go b/misc/cgo/errors/testdata/issue11097b.go
deleted file mode 100644 (file)
index b00f24f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// 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
-
-/*
-//enum test { foo, bar };
-*/
-import "C"
-
-func main() {
-       p := new(C.enum_test) // ERROR HERE
-       _ = p
-}