github.com/ccccaoqing/test@v0.0.0-20220510085219-3985d23445c0/src/cmd/gofmt/testdata/rewrite8.golden (about) 1 //gofmt -r=interface{}->int 2 3 // Copyright 2013 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. 6 7 // Check that literal type expression rewrites are accepted. 8 // Was issue 4406. 9 10 package p 11 12 type T int