lab.nexedi.com/kirr/go123@v0.0.0-20240207185015-8299741fa871/tracing/cmd/gotrace/testdata/src/c/pkg3/pkg3_test.go (about)

     1  package pkg3
     2  
     3  import "testing"
     4  
     5  // trace import that should be added only to tests, and under specified package name
     6  //trace:import aaa1 "a/pkg1"
     7  
     8  func TestZzz(t *testing.T) {
     9  	if zzz() != 2 {
    10  		t.Fatal("zzz wrong")
    11  	}
    12  }