summaryrefslogtreecommitdiffstats
path: root/llgo/test/execution/circulartype.go
blob: 01e9ce44493ee5b3cabc63a382f0dbcff69608e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | count 0

package main

type A struct {
	b1, b2 B
}

type B struct {
	a1, a2 *A
}

func main() {
	var a A
	_ = a
}
OpenPOWER on IntegriCloud