...

Text file src/cmd/gofmt/testdata/rewrite8.golden

Documentation: cmd/gofmt/testdata

     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
    10package p
    11
    12type T int

View as plain text