Russ Cox | 0b477ef | 2012-02-16 23:48:57 -0500 | [diff] [blame] | 1 | // compile |
Russ Cox | 7e24110 | 2008-10-08 15:33:18 -0700 | [diff] [blame] | 2 | |
| 3 | // Copyright 2009 The Go Authors. All rights reserved. |
| 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 top-level parenthesized declarations can be empty. |
| 8 | // Compiles but does not run. |
| 9 | |
Russ Cox | 7e24110 | 2008-10-08 15:33:18 -0700 | [diff] [blame] | 10 | package P |
| 11 | |
| 12 | import ( ) |
| 13 | const ( ) |
| 14 | var ( ) |
| 15 | type ( ) |