Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test6390 (0.08 sec)

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

    func test5986(t *testing.T) {
    	C.output5986()
    }
    
    // issue 6128
    
    func test6128() {
    	// nothing to run, just make sure this compiles.
    	_ = C.X
    }
    
    // issue 6390
    
    func test6390(t *testing.T) {
    	p1 := C.malloc(1024)
    	if p1 == nil {
    		t.Fatalf("C.malloc(1024) returned nil")
    	}
    	p2 := C.malloc(0)
    	if p2 == nil {
    		t.Fatalf("C.malloc(0) returned nil")
    	}
    	C.free(p1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top