- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for issue11687 (0.27 sec)
-
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) -
src/internal/types/testdata/check/issues0.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 11.6K bytes - Viewed (0) -
test/escape2.go
var f func() for { x := new(int) // ERROR "new\(int\) escapes to heap$" f = func() { // ERROR "func literal escapes to heap$" println(*x) } } _ = f } func issue11387(x int) func() int { f := func() int { return x } // ERROR "func literal escapes to heap" slice1 := []func() int{f} // ERROR "\[\].* does not escape"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2n.go
var f func() for { x := new(int) // ERROR "new\(int\) escapes to heap$" f = func() { // ERROR "func literal escapes to heap$" println(*x) } } _ = f } func issue11387(x int) func() int { f := func() int { return x } // ERROR "func literal escapes to heap" slice1 := []func() int{f} // ERROR "\[\].* does not escape"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0)