Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cgoNoCallback (0.2 sec)

  1. src/runtime/crash_cgo_test.go

    	if output != want {
    		t.Fatalf("want %s, got %s\n", want, output)
    	}
    }
    
    func TestCgoNoCallback(t *testing.T) {
    	t.Skip("TODO(#56378): enable in Go 1.23")
    	got := runTestProg(t, "testprogcgo", "CgoNoCallback")
    	want := "function marked with #cgo nocallback called back into Go"
    	if !strings.Contains(got, want) {
    		t.Fatalf("did not see %q in output:\n%s", want, got)
    	}
    }
    
    func TestCgoNoEscape(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
Back to top