summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue63489a.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue63489a.go')
-rw-r--r--test/fixedbugs/issue63489a.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/fixedbugs/issue63489a.go b/test/fixedbugs/issue63489a.go
new file mode 100644
index 0000000..b88120f
--- /dev/null
+++ b/test/fixedbugs/issue63489a.go
@@ -0,0 +1,16 @@
+// errorcheck -lang=go1.21
+
+// Copyright 2023 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build go1.4
+
+package p
+
+const c = 0o123 // ERROR "file declares //go:build go1.4"
+
+// ERROR "file declares //go:build go1.4"
+
+//line issue63489a.go:13:1
+const d = 0o124