github.com/mattn/go@v0.0.0-20171011075504-07f7db3ea99f/test/fixedbugs/bug385_32.go (about)

     1  // +build 386 amd64p32 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   // GC_ERROR "type .* too large"
    13  	arr_bkup := arr
    14  	_ = arr_bkup
    15  }