Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPPC64CallStubs (0.27 sec)

  1. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // extern int notoc_func(void);
    // int TestPPC64Stubs(void) {
    //	return notoc_func();
    // }
    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    	// do not, or are missing, a crash is expected.
    	if C.TestPPC64Stubs() != 0 {
    		t.Skipf("This test requires binutils 2.35 or newer.")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 15:06:17 GMT 2023
    - 540 bytes
    - Viewed (0)
Back to top