]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/testgodefs/testdata/fieldtypedef.go
misc/cgo: move easy tests to cmd/cgo/internal
[gostls13.git] / misc / cgo / testgodefs / testdata / fieldtypedef.go
diff --git a/misc/cgo/testgodefs/testdata/fieldtypedef.go b/misc/cgo/testgodefs/testdata/fieldtypedef.go
deleted file mode 100644 (file)
index b0c5074..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserve d.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-//go:build ignore
-
-package main
-
-/*
-struct S1 { int f1; };
-struct S2 { struct S1 s1; };
-typedef struct S1 S1Type;
-typedef struct S2 S2Type;
-*/
-import "C"
-
-type S1 C.S1Type
-type S2 C.S2Type