mirror of
https://github.com/golang/go
synced 2024-11-11 19:51:37 -07:00
13 lines
292 B
Go
13 lines
292 B
Go
|
// 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
|