summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.go-torture/execute/struct-1.go
blob: edf38b2bf06a4fc6795c582b685c42006038a2de (plain)
1
2
3
4
5
6
7
8
package main

func main() {
  type s struct { x int; };
  var ret s;
  ret.x = 1;
  if ret.x != 1 { panic(0) }
}