src/cmd/gofmt/testdata/rewrite8.input
raw| 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 interface{} |