- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ConstIf (0.09 sec)
-
src/cmd/link/internal/ld/testdata/issue25459/a/a.go
var Count int type FuncReturningInt func() int var PointerToConstIf FuncReturningInt func ConstIf() int { if Always { return 1 } var imdead [4]int imdead[Count] = 1 return imdead[0] } func CallConstIf() int { Count += 3 return ConstIf() } func Another() { defer func() { PointerToConstIf = ConstIf; Count += 1 }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:11 UTC 2019 - 363 bytes - Viewed (0) -
src/cmd/link/internal/ld/testdata/issue25459/main/main.go
package main import "cmd/link/internal/ld/testdata/issue25459/a" var Glob int func main() { a.Another() Glob += a.ConstIf() + a.CallConstIf()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:11 UTC 2019 - 149 bytes - Viewed (0)