blob: daf2a083c5356ecb65ceda51670569e36dbac3ea [file] [log] [blame]
Rémy Oudomphengb4e41b42014-03-20 07:28:24 +01001// +build 386 amd64p32 arm
Rémy Oudompheng4f6a2b92013-01-28 21:29:45 +01002// errorcheck
Russ Coxcd22afa2012-09-23 13:16:14 -04003
Luuk van Dijka6c49092012-01-10 11:19:22 +01004// 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
10package main
11func main() {
Ian Lance Taylor3ddd2ea2013-12-12 17:13:46 -080012 var arr [1000200030]int // GC_ERROR "type .* too large"
Luuk van Dijka6c49092012-01-10 11:19:22 +010013 arr_bkup := arr
14 _ = arr_bkup
Rémy Oudompheng4f6a2b92013-01-28 21:29:45 +010015}