summaryrefslogtreecommitdiff
path: root/doc/progs/go1.go
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-09-03 03:49:03 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-09-03 03:49:03 +0800
commit31f104e24ff32d345ce3d04a511fde94494a1dec (patch)
tree02ec731b0e3a6f9429e03842c0521f8f61ed5ceb /doc/progs/go1.go
parent6e1328796c5fb8cf00d81e78f20f424083fc7f48 (diff)
downloadgo-31f104e24ff32d345ce3d04a511fde94494a1dec.tar.gz
doc/progs: use test/run.go for testing on Windows
cgo[1-4].go, go1.go couldn't be tested now (cgo[1-4].go can only be tested when cgo is enabled, go1.go contain a list of filenames in the current directory) R=golang-dev, alex.brainman, rsc CC=golang-dev http://codereview.appspot.com/6218048
Diffstat (limited to 'doc/progs/go1.go')
-rw-r--r--doc/progs/go1.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/progs/go1.go b/doc/progs/go1.go
index 50fd93441..a4dc64d46 100644
--- a/doc/progs/go1.go
+++ b/doc/progs/go1.go
@@ -1,3 +1,6 @@
+// compile
+// this file will output a list of filenames in cwd, not suitable for cmpout
+
// Copyright 2011 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.