1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:21:22 -07:00
go/test/fixedbugs/issue30862.go

13 lines
450 B
Go
Raw Normal View History

// runindir -goexperiment fieldtrack
// Copyright 2019 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.
// Test case for issue 30862. This test as written will
// fail for the main 'gc' compiler unless GOEXPERIMENT=fieldtrack
// is set when building it, whereas gccgo has field tracking
// enabled by default (hence the build tag below).
package ignored