Russ Cox | 0b477ef | 2012-02-16 23:48:57 -0500 | [diff] [blame] | 1 | // compile |
Russ Cox | 132e543 | 2010-11-04 16:04:04 -0400 | [diff] [blame] | 2 | |
Emmanuel Odeke | 53fd522 | 2016-04-10 14:32:26 -0700 | [diff] [blame] | 3 | // Copyright 2010 The Go Authors. All rights reserved. |
Russ Cox | 132e543 | 2010-11-04 16:04:04 -0400 | [diff] [blame] | 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
Rob Pike | 83976e3 | 2012-02-19 14:28:53 +1100 | [diff] [blame] | 7 | // Test that a comment ending a source file does not need a final newline. |
| 8 | // Compiles but does not run. |
| 9 | |
Brad Fitzpatrick | 040fe32 | 2012-02-03 11:43:24 -0800 | [diff] [blame] | 10 | package eof1 |
Russ Cox | 132e543 | 2010-11-04 16:04:04 -0400 | [diff] [blame] | 11 | |
| 12 | // No newline at the end of this comment. |