Debian Codegraph @

test/fixedbugs/issue24339.go

raw
1 // errorcheck
2
3 // Copyright 2018 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 p
8
9 // Use a different line number for each token so we can
10 // check that the error message appears at the correct
11 // position.
12 var _ = struct{}{ /*line :20:1*/foo /*line :21:1*/: /*line :22:1*/0 }
13
14
15
16
17
18
19
20 // ERROR "unknown field foo"