Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMallocCrashesOnNil (0.26 sec)

  1. src/cmd/cgo/internal/testerrors/errors_test.go

    			out, err := cmd.CombinedOutput()
    			if err != nil {
    				t.Errorf("%#q: %v:\n%s", strings.Join(cmd.Args, " "), err, out)
    			}
    		})
    	}
    }
    
    func TestMallocCrashesOnNil(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	cmd := exec.Command("go", "run", path("malloc.go"))
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top