github.com/switchupcb/yaegi@v0.10.2/_test/const20.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  const maxLen = int64(int64(^uint64(0) >> 1))
     6  
     7  func main() {
     8  	fmt.Println(maxLen)
     9  }
    10  
    11  // Output:
    12  // 9223372036854775807