summaryrefslogtreecommitdiff
path: root/test/eof1.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-19 14:28:53 +1100
committerRob Pike <r@golang.org>2012-02-19 14:28:53 +1100
commit54e5592fbca3eb4902687c885ddf041dd06fbee4 (patch)
tree0178d789dc8fe7231e9ca51132a34a3d97d2db54 /test/eof1.go
parent56074ca41a4f4b1c3d4a9953e69ad7ba5883bc45 (diff)
downloadgo-54e5592fbca3eb4902687c885ddf041dd06fbee4.tar.gz
test: explanatory comments [c-g]*
R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/5656103
Diffstat (limited to 'test/eof1.go')
-rw-r--r--test/eof1.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/eof1.go b/test/eof1.go
index af6b4c52f..2105b8908 100644
--- a/test/eof1.go
+++ b/test/eof1.go
@@ -4,6 +4,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Test that a comment ending a source file does not need a final newline.
+// Compiles but does not run.
+
package eof1
// No newline at the end of this comment. \ No newline at end of file