aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/fixedbugs/issue23203a.src
blob: 48cb5889cd90ef1fcf0dfbc6fee261b571c72a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2018 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

import "unsafe"

type T struct{}

func (T) m1()                         {}
func (T) m2([unsafe.Sizeof(T.m1)]int) {}

func main() {}