1 // errorcheckandrundir -0 -m -d=inlfuncswithclosures=1
3 //go:build !goexperiment.newinliner
4 // +build !goexperiment.newinliner
6 // Copyright 2017 The Go Authors. All rights reserved.
7 // Use of this source code is governed by a BSD-style
8 // license that can be found in the LICENSE file.
10 // Check correctness of various closure corner cases
11 // that are expected to be inlined