summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/fixedbugs/bug298.go
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-21 23:05:39 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-21 23:05:39 +0000
commit2337e4938d53ddab3763da58ab714de2145c65ec (patch)
tree2acf1e16abe40f8771b31004357e768d47be2d63 /gcc/testsuite/go.test/test/fixedbugs/bug298.go
parent09cc41a72ff67f8681a4b489e613df4fec1dc15a (diff)
downloadgcc-2337e4938d53ddab3763da58ab714de2145c65ec.tar.gz
Update Go testsuite to release r60.
* go.test/go-test.exp (errchk): Add special case for bug332. (go-gc-tests): Add special cases for bug347 and bug348. Recognize some more test lines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug298.go')
-rw-r--r--gcc/testsuite/go.test/test/fixedbugs/bug298.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug298.go b/gcc/testsuite/go.test/test/fixedbugs/bug298.go
index fe4a99a780e..c16c3f98af1 100644
--- a/gcc/testsuite/go.test/test/fixedbugs/bug298.go
+++ b/gcc/testsuite/go.test/test/fixedbugs/bug298.go
@@ -7,5 +7,5 @@
package ddd
func Sum() int
- for i := range []int{} { return i } // ERROR "return outside function|expected"
+ for i := range []int{} { return i } // ERROR "statement outside function|expected"