blob: bab8996f197acf295404f3ceced1eb3a2c780a7d [file] [log] [blame]
Russ Coxd66d65d2009-08-24 17:06:10 -07001// errchk $G $D/$F.go
Robert Griesemer41644d72009-01-21 14:11:54 -08002
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
7package main
8
9type T struct {
Russ Coxd66d65d2009-08-24 17:06:10 -070010 x, x int // ERROR "duplicate"
Robert Griesemer41644d72009-01-21 14:11:54 -080011}