github.com/bgentry/go@v0.0.0-20150121062915-6cf5a733d54d/src/cmd/go/testdata/cgocover/p.go (about)

     1  package p
     2  
     3  /*
     4  void
     5  f(void)
     6  {
     7  }
     8  */
     9  import "C"
    10  
    11  var b bool
    12  
    13  func F() {
    14  	if b {
    15  		for {
    16  		}
    17  	}
    18  	C.f()
    19  }