aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/testdata/issue23203b.src
blob: 638ec6c5ce34c5d0dd974e11fc0655b038f851b0 (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) m2([unsafe.Sizeof(T.m1)]int) {}
func (T) m1()                         {}

func main() {}