aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug385_32.go
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2013-01-28 21:29:45 +0100
committerRémy Oudompheng <oudomphe@phare.normalesup.org>2013-01-28 21:29:45 +0100
commit4f6a2b9840f7894086a04e42ebf497b2d8fdbd33 (patch)
tree2e2239a43beaac74359ef5dfd516ccfc0a1c6f04 /test/fixedbugs/bug385_32.go
parentcf1f542420415826040be93bc2a252ec605a1196 (diff)
downloadgo-4f6a2b9840f7894086a04e42ebf497b2d8fdbd33.tar.xz
test: add support for build tags.
This enables a few tests that were only executed unconditionnally. R=rsc, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/7103051
Diffstat (limited to 'test/fixedbugs/bug385_32.go')
-rw-r--r--test/fixedbugs/bug385_32.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/fixedbugs/bug385_32.go b/test/fixedbugs/bug385_32.go
index 5ac4136e7d..724ed93262 100644
--- a/test/fixedbugs/bug385_32.go
+++ b/test/fixedbugs/bug385_32.go
@@ -1,7 +1,5 @@
-// [ $A == 6 ] || errchk $G -e $D/$F.go
-
-// NOTE: This test is not run by 'run.go' and so not run by all.bash.
-// To run this test you must use the ./run shell script.
+// +build 386 arm
+// errorcheck
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
@@ -14,4 +12,4 @@ func main() {
var arr [1000200030]int // ERROR "type .* too large"
arr_bkup := arr
_ = arr_bkup
-} \ No newline at end of file
+}