mirror of
https://github.com/golang/go
synced 2024-11-14 09:10:27 -07:00
14 lines
241 B
Go
14 lines
241 B
Go
|
// Copyright 2020 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.
|
||
|
|
||
|
package main
|
||
|
|
||
|
func main() {}
|
||
|
|
||
|
type T int
|
||
|
|
||
|
func (T) M() { println("M") }
|
||
|
|
||
|
var X T
|