Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/types/testdata/check/stmt0.go

    	switch x {
    	case 9223372036854775808 /* ERROR "overflows int" */ :
    	}
    	var y float64
    	switch y {
    	case 9223372036854775808:
    	}
    }
    
    func issue11687() {
    	f := func() (_, _ int) { return }
    	switch f /* ERROR "multiple-value f" */ () {
    	}
    	var x int
    	switch f /* ERROR "multiple-value f" */ () {
    	case x:
    	}
    	switch x {
    	case f /* ERROR "multiple-value f" */ ():
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top