summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug274.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-06-17 15:25:05 -0400
committerRuss Cox <rsc@golang.org>2011-06-17 15:25:05 -0400
commit7f4c5ea7d8c7ba8df9af1c61ea6a4accd05e7525 (patch)
treedd9d4bd504c4fe1eee8ff5ff73b1789984c3df56 /test/fixedbugs/bug274.go
parente852202f376ea4b6af99294586ae9c1e4471283f (diff)
downloadgo-git-7f4c5ea7d8c7ba8df9af1c61ea6a4accd05e7525.tar.gz
gc: implement goto restriction
Remove now-unnecessary zeroing of stack frames. R=ken2 CC=golang-dev https://golang.org/cl/4641044
Diffstat (limited to 'test/fixedbugs/bug274.go')
-rw-r--r--test/fixedbugs/bug274.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug274.go b/test/fixedbugs/bug274.go
index 348aed429e..81ee9e5b8a 100644
--- a/test/fixedbugs/bug274.go
+++ b/test/fixedbugs/bug274.go
@@ -25,6 +25,6 @@ func main() {
L1: // ERROR "statement"
default:
// correct since no semicolon is required before a '}'
- L2: // GCCGO_ERROR "not used"
+ L2: // ERROR "not used"
}
}