github.com/llvm-mirror/llgo@v0.0.0-20190322182713-bf6f0a60fce1/test/execution/circulartype.go (about)

     1  // RUN: llgo -o %t %s
     2  // RUN: %t 2>&1 | count 0
     3  
     4  package main
     5  
     6  type A struct {
     7  	b1, b2 B
     8  }
     9  
    10  type B struct {
    11  	a1, a2 *A
    12  }
    13  
    14  func main() {
    15  	var a A
    16  	_ = a
    17  }