github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/test/fixedbugs/bug385_32.go (about)

     1  // +build 386 arm
     2  // errorcheck
     3  
     4  // Copyright 2011 The Go Authors.  All rights reserved.
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found in the LICENSE file.
     7  
     8  // Issue 2444
     9  
    10  package main
    11  func main() {
    12  	var arr [1000200030]int   // ERROR "type .* too large"
    13  	arr_bkup := arr
    14  	_ = arr_bkup
    15  }