summaryrefslogtreecommitdiff
path: root/test/char_lit.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-19 13:19:43 +1100
committerRob Pike <r@golang.org>2012-02-19 13:19:43 +1100
commitfc0dc040954b7a8479c978ff06fe6ea4219d1542 (patch)
treeb6c98a103624f19cba900d13abe81f14d4f5f17c /test/char_lit.go
parent126d475a4311c5c34f380a11941dbeeac39145fd (diff)
downloadgo-git-fc0dc040954b7a8479c978ff06fe6ea4219d1542.tar.gz
test: [a-c]: add introductory comments to tests
Very few of the compiler regression tests include a comment saying waht they do. Many are obvious, some are anything but. I've started with a-c in the top directory. More will follow once we agree on the approach, correctness, and thoroughness here. zerodivide.go sneaked in too. R=rsc, r CC=golang-dev https://golang.org/cl/5656100
Diffstat (limited to 'test/char_lit.go')
-rw-r--r--test/char_lit.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/char_lit.go b/test/char_lit.go
index 99be77a570..836c3c1a2d 100644
--- a/test/char_lit.go
+++ b/test/char_lit.go
@@ -1,9 +1,11 @@
-// $G $F.go && $L $F.$A &&./$A.out
+// run
// Copyright 2009 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.
+// Test character literal syntax.
+
package main
import "os"