Source file src/runtime/typelinksrace_test.go

     1  // Copyright 2026 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 runtime_test
     6  
     7  import (
     8  	"testing"
     9  )
    10  
    11  func TestTypelinksRace(t *testing.T) {
    12  	output := runTestProg(t, "testprog", "TypelinksRace")
    13  	want := "OK\n"
    14  	if output != want {
    15  		t.Fatalf("want %s, got %s\n", want, output)
    16  	}
    17  }
    18  

View as plain text