summaryrefslogtreecommitdiff
path: root/misc/cgo/test/issue8828.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/test/issue8828.go')
-rw-r--r--misc/cgo/test/issue8828.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/cgo/test/issue8828.go b/misc/cgo/test/issue8828.go
index 3b5765d306..e9ec265268 100644
--- a/misc/cgo/test/issue8828.go
+++ b/misc/cgo/test/issue8828.go
@@ -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.