1
0
mirror of https://github.com/golang/go synced 2024-11-24 17:30:18 -07:00
go/test/fixedbugs/issue18459.go

14 lines
334 B
Go
Raw Normal View History

// errorcheck
// Copyright 2016 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.
// Verify that we have a line number for this error.
package main
//go:nowritebarrier // ERROR "//go:nowritebarrier only allowed in runtime"
func main() {
}