github.com/goplus/llgo@v0.8.3/cl/_testrt/cvar/in.go (about)

     1  package main
     2  
     3  import _ "unsafe"
     4  
     5  //go:linkname barX _bar_x
     6  var barX struct {
     7  	Arr       [16]int8
     8  	Callbacks [2]func()
     9  }
    10  
    11  //go:linkname barY _bar_y
    12  var barY struct {
    13  	Arr [16]int8
    14  }
    15  
    16  func main() {
    17  	_ = barX
    18  	_ = barY
    19  }