Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for issue25143sum (0.1 sec)

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

    	}
    }
    
    // issue 25143
    
    func issue25143sum(ns ...C.int) C.int {
    	total := C.int(0)
    	for _, n := range ns {
    		total += n
    	}
    	return total
    }
    
    func test25143(t *testing.T) {
    	if got, want := issue25143sum(1, 2, 3), C.int(6); got != want {
    		t.Errorf("issue25143sum(1, 2, 3) == %v, expected %v", got, want)
    	}
    }
    
    // issue 26066
    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