summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/bug479.dir/a.go
blob: eddb4cf0781a17bc105baa5e25082c0a1b546d9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2013 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 p

import "unsafe"

type S2 struct {}

const C = unsafe.Sizeof(S2{})

type S1 struct {
	S2
}