Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEmptyRange (0.72 sec)

  1. src/cmd/compile/internal/test/testdata/ctl_test.go

    		if want != got {
    			t.Errorf("nor(%t, %t)=%t got %t", a, b, want, got)
    		}
    	}
    }
    
    func emptyRange_ssa(b []byte) bool {
    	for _, x := range b {
    		_ = x
    	}
    	return true
    }
    
    func testEmptyRange(t *testing.T) {
    	if !emptyRange_ssa([]byte{}) {
    		t.Errorf("emptyRange_ssa([]byte{})=false, want true")
    	}
    }
    
    func switch_ssa(a int) int {
    	ret := 0
    	switch a {
    	case 5:
    		ret += 5
    	case 4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top