blob: 3902cd5e899c18e1e3fdcd67840d6bc812cac6b6 [file] [log] [blame]
Colin Cross7bb052a2015-02-03 12:59:37 -08001// run
2
Dan Willemsen0c157092016-07-08 13:57:52 -07003// Copyright 2010 The Go Authors. All rights reserved.
Colin Cross7bb052a2015-02-03 12:59:37 -08004// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file.
6
7package main
8
9var a [10]int
10var b [1e1]int
11
12func main() {
13 if len(a) != 10 || len(b) != 10 {
14 println("len", len(a), len(b))
15 panic("fail")
16 }
17}