summaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/generate/test1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/generate/test1.go')
-rw-r--r--src/cmd/go/testdata/generate/test1.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/generate/test1.go b/src/cmd/go/testdata/generate/test1.go
new file mode 100644
index 000000000..1f05734f0
--- /dev/null
+++ b/src/cmd/go/testdata/generate/test1.go
@@ -0,0 +1,13 @@
+// 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.
+
+// Simple test for go generate.
+
+// We include a build tag that go generate should ignore.
+
+// +build ignore
+
+//go:generate echo Success
+
+package p