uniugm/admin/lib/gofmt/testdata/rewrite10.golden
2025-05-08 17:33:46 +08:00

20 lines
350 B
Plaintext

//gofmt -r=a->a
// 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.
// Issue 33103, 33104, and 33105.
package pkg
func fn() {
_ = func() {
switch {
default:
}
}
_ = func() string {}
_ = func() { var ptr *string; println(ptr) }
}