...

Source file src/cmd/compile/internal/types2/main_test.go

Documentation: cmd/compile/internal/types2

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package types2_test
     6  
     7  import (
     8  	"go/build"
     9  	"internal/testenv"
    10  	"os"
    11  	"testing"
    12  )
    13  
    14  func TestMain(m *testing.M) {
    15  	build.Default.GOROOT = testenv.GOROOT(nil)
    16  	os.Exit(m.Run())
    17  }
    18  

View as plain text