Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRuntimeTypeAttr (0.13 sec)

  1. src/cmd/link/internal/ld/dwarf_test.go

    	// Explicitly test external linking, for dsymutil compatibility on Darwin.
    	if runtime.GOARCH == "ppc64" {
    		t.Skip("-linkmode=external not supported on ppc64")
    	}
    
    	testRuntimeTypeAttr(t, "-ldflags=-linkmode=external")
    }
    
    func testRuntimeTypeAttr(t *testing.T, flags string) {
    	t.Parallel()
    
    	const prog = `
    package main
    
    import "unsafe"
    
    type X struct{ _ int }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top