12345678910111213141516171819 |
- //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) }
- }
|