Robert Griesemer | 6c5fc05 | 2008-11-18 09:39:34 -0800 | [diff] [blame] | 1 | // errchk $G $D/$F.go |
| 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 | |
| 7 | package main |
| 8 | |
| 9 | import ( |
| 10 | OS "os" // should require semicolon here; this is no different from other decls |
Russ Cox | 5fbadf0 | 2009-03-12 19:57:30 -0700 | [diff] [blame] | 11 | IO "io" // ERROR "missing|syntax" |
Robert Griesemer | 6c5fc05 | 2008-11-18 09:39:34 -0800 | [diff] [blame] | 12 | ) |
| 13 | |
| 14 | func main() { |
| 15 | } |