Source file test/fixedbugs/bug385_32.go

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

View as plain text