mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
Force recompute of bits.UintSize, make related tests portable. Fixes #1230.
13 lines
146 B
Go
13 lines
146 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
const maxLen = int64(int64(^uint64(0) >> 1))
|
|
|
|
func main() {
|
|
fmt.Println(maxLen)
|
|
}
|
|
|
|
// Output:
|
|
// 9223372036854775807
|