Files
yaegi/_test/const20.go
T
Marc Vertes b7f9a39eff interp: fix support of 32 bits and big-endian arch
Force recompute of bits.UintSize, make related tests portable.

Fixes #1230.
2021-08-27 14:54:05 +02:00

13 lines
146 B
Go

package main
import "fmt"
const maxLen = int64(int64(^uint64(0) >> 1))
func main() {
fmt.Println(maxLen)
}
// Output:
// 9223372036854775807