]> Cypherpunks.ru repositories - gostls13.git/blobdiff - misc/cgo/test/issue8828.go
misc/cgo/test: add cgo build constraints
[gostls13.git] / misc / cgo / test / issue8828.go
index 3b5765d3068a7ec66668000791bd266248c66810..e9ec2652683683aa24f3ad50c5ec21958abc1e30 100644 (file)
@@ -1,9 +1,9 @@
-// compile
-
 // Copyright 2014 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.
 
+//go:build cgo
+
 // Issue 8828: compiling a file with -compiler=gccgo fails if a .c file
 // has the same name as compiled directory.