mirror of
https://github.com/golang/go
synced 2024-11-19 15:54:46 -07:00
17 lines
210 B
Go
17 lines
210 B
Go
|
package main
|
||
|
|
||
|
var x struct {
|
||
|
a, b, c int64
|
||
|
d struct{ p, q, r int32 }
|
||
|
e [8]byte
|
||
|
f [4]struct{ p, q, r int32 }
|
||
|
}
|
||
|
|
||
|
var y = &x.b
|
||
|
var z = &x.d.q
|
||
|
|
||
|
var b [10]byte
|
||
|
var c = &b[5]
|
||
|
|
||
|
var w = &x.f[3].r
|