From f48372c05c400812178b0bb68cd6525601cecfe9 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sun, 19 Feb 2012 13:19:43 +1100 Subject: 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 http://codereview.appspot.com/5656100 --- test/char_lit.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/char_lit.go') diff --git a/test/char_lit.go b/test/char_lit.go index 99be77a57..836c3c1a2 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" -- cgit v1.2.1