From 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Jun 2014 09:22:53 +0200 Subject: Imported Upstream version 1.3 --- test/syntax/semi1.go | 2 +- test/syntax/semi2.go | 2 +- test/syntax/semi3.go | 2 +- test/syntax/semi4.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/syntax') diff --git a/test/syntax/semi1.go b/test/syntax/semi1.go index cc30f2654..6e0428121 100644 --- a/test/syntax/semi1.go +++ b/test/syntax/semi1.go @@ -7,7 +7,7 @@ package main func main() { - if x; y // ERROR "missing { after if clause|undefined" + if x; y // ERROR "missing .*{.* after if clause|undefined" { z // GCCGO_ERROR "undefined" diff --git a/test/syntax/semi2.go b/test/syntax/semi2.go index 61b8bf6d4..23d7bd0ee 100644 --- a/test/syntax/semi2.go +++ b/test/syntax/semi2.go @@ -7,7 +7,7 @@ package main func main() { - switch x; y // ERROR "missing { after switch clause|undefined" + switch x; y // ERROR "missing .*{.* after switch clause|undefined" { z diff --git a/test/syntax/semi3.go b/test/syntax/semi3.go index bb87520c5..ca070d8a5 100644 --- a/test/syntax/semi3.go +++ b/test/syntax/semi3.go @@ -7,7 +7,7 @@ package main func main() { - for x; y; z // ERROR "missing { after for clause|undefined" + for x; y; z // ERROR "missing .*{.* after for clause|undefined" { z // GCCGO_ERROR "undefined" diff --git a/test/syntax/semi4.go b/test/syntax/semi4.go index 00fa3f575..99c2d2256 100644 --- a/test/syntax/semi4.go +++ b/test/syntax/semi4.go @@ -8,7 +8,7 @@ package main func main() { for x // GCCGO_ERROR "undefined" - { // ERROR "missing { after for clause" + { // ERROR "missing .*{.* after for clause" z // GCCGO_ERROR "undefined" -- cgit v1.2.3