Russ Cox | 8f194bf | 2009-03-12 19:04:38 -0700 | [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 | const ( | ||||
Rob Pike | 4f61fc9 | 2010-09-04 10:36:13 +1000 | [diff] [blame] | 10 | A int = 1 |
Ian Lance Taylor | bd64e81 | 2009-03-16 21:48:07 -0700 | [diff] [blame] | 11 | B byte; // ERROR "type without expr|expected .=." |
Russ Cox | 8f194bf | 2009-03-12 19:04:38 -0700 | [diff] [blame] | 12 | ) |