Rémy Oudompheng | b4e41b4 | 2014-03-20 07:28:24 +0100 | [diff] [blame] | 1 | // +build 386 amd64p32 arm |
Rémy Oudompheng | 4f6a2b9 | 2013-01-28 21:29:45 +0100 | [diff] [blame] | 2 | // errorcheck |
Russ Cox | cd22afa | 2012-09-23 13:16:14 -0400 | [diff] [blame] | 3 | |
Luuk van Dijk | a6c4909 | 2012-01-10 11:19:22 +0100 | [diff] [blame] | 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() { |
Ian Lance Taylor | 3ddd2ea | 2013-12-12 17:13:46 -0800 | [diff] [blame] | 12 | var arr [1000200030]int // GC_ERROR "type .* too large" |
Luuk van Dijk | a6c4909 | 2012-01-10 11:19:22 +0100 | [diff] [blame] | 13 | arr_bkup := arr |
| 14 | _ = arr_bkup |
Rémy Oudompheng | 4f6a2b9 | 2013-01-28 21:29:45 +0100 | [diff] [blame] | 15 | } |