github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/riscvtest/zero8.go (about) 1 package main 2 3 import "os" 4 5 func main() { 6 var a [8]byte 7 a[1] = 3 8 os.Exit(int(a[0] + a[1] + a[6] + a[7])) 9 }