summaryrefslogtreecommitdiff
path: root/doc/progs/slices.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc/progs/slices.go')
-rw-r--r--doc/progs/slices.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/progs/slices.go b/doc/progs/slices.go
index 8e440103e..0461684b7 100644
--- a/doc/progs/slices.go
+++ b/doc/progs/slices.go
@@ -1,3 +1,5 @@
+// compile
+
// Copyright 2012 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.