summaryrefslogtreecommitdiff
path: root/test/eof1.go
diff options
context:
space:
mode:
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