Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCheckCompilerFlagsForInternalLink (0.76 sec)

  1. src/cmd/go/internal/work/security_test.go

    	}
    	if err := checkCompilerFlags("TEST", "test", []string{"-fplugin=lint.so"}); err == nil {
    		t.Fatalf("missing error for -fplugin=lint.so: %v", err)
    	}
    }
    
    func TestCheckCompilerFlagsForInternalLink(t *testing.T) {
    	// Any "bad" compiler flag should trigger external linking.
    	for _, f := range badCompilerFlags {
    		if err := checkCompilerFlagsForInternalLink("test", "test", f); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top