blob: ade9d0bc22ba9aaf604cc25e0b7414602a124ea2 [file] [log] [blame]
// RUN: llgo -o %t %s
// RUN: %t 2>&1 | FileCheck %s
// CHECK: 8
// CHECK-NEXT: 8
package main
import "unsafe"
const ptrSize = unsafe.Sizeof((*byte)(nil))
var x [ptrSize]int
func main() {
println(ptrSize)
println(len(x))
}