modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/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  }