1 // errorcheck -goexperiment fieldtrack
3 // Copyright 2023 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
9 func f(interface{ m() }) {}
10 func g() { f(new(T)) } // ERROR "m method is marked 'nointerface'"