Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
go.go-torture
/
execute
/
struct-2.go
blob: cc01f6b9c65c088a4056b0cac32a5e66a7bbee61 [
file
] [
log
] [
blame
]
package main
func main() {
type s struct { x int; y int; };
var ret s = s{1, 2};
if ret.y - (ret.x + ret.x) != 0 { panic(0) }
}