diff options
author | R?my Oudompheng <oudomphe@phare.normalesup.org> | 2013-01-18 22:54:27 +0100 |
---|---|---|
committer | R?my Oudompheng <oudomphe@phare.normalesup.org> | 2013-01-18 22:54:27 +0100 |
commit | 73dd08ac82a856ee0c713001f64b703862720fd1 (patch) | |
tree | 8f24f69f779ebb8c7b5c27d3ed5da27f70ac05ff /test/fixedbugs/issue4348.go | |
parent | 2f08c58563b4bb4dd06f37bba958adafd987c5f6 (diff) | |
download | go-73dd08ac82a856ee0c713001f64b703862720fd1.tar.gz |
test: re-enable issue4348.go.
The test array is too large to fit a stack frame
but can be a global.
R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7127059
Diffstat (limited to 'test/fixedbugs/issue4348.go')
-rw-r--r-- | test/fixedbugs/issue4348.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/fixedbugs/issue4348.go b/test/fixedbugs/issue4348.go index e1d172e9d..3dac8f768 100644 --- a/test/fixedbugs/issue4348.go +++ b/test/fixedbugs/issue4348.go @@ -1,13 +1,10 @@ -// skip - -// NOTE: this test is now skipped because the relevant code -// is rejected after fixing issue 4666. +// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Issue 4238. After switch to 64-bit ints the compiler generates +// Issue 4348. After switch to 64-bit ints the compiler generates // illegal instructions when using large array bounds or indexes. package main @@ -20,8 +17,9 @@ func A() int { return a[LARGE] } +var b [LARGE]int + func B(i int) int { - var b [LARGE]int return b[i] } |