rewrite10.input 350 B

12345678910111213141516171819
  1. //gofmt -r=a->a
  2. // Copyright 2019 The Go Authors. All rights reserved.
  3. // Use of this source code is governed by a BSD-style
  4. // license that can be found in the LICENSE file.
  5. // Issue 33103, 33104, and 33105.
  6. package pkg
  7. func fn() {
  8. _ = func() {
  9. switch {
  10. default:
  11. }
  12. }
  13. _ = func() string {}
  14. _ = func() { var ptr *string; println(ptr) }
  15. }