blob: 71f0f22f1d5053584e862e6269d7b1366a21fb0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// errorcheck -lang=go1.15
// Copyright 2021 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.
package p
import _ "embed"
//go:embed x.txt // ERROR "go:embed requires go1.16 or later"
var x string
|