diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug091.go')
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug091.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug091.go b/gcc/testsuite/go.test/test/fixedbugs/bug091.go index cfbb09cd820..c2ede7153ce 100644 --- a/gcc/testsuite/go.test/test/fixedbugs/bug091.go +++ b/gcc/testsuite/go.test/test/fixedbugs/bug091.go @@ -7,18 +7,19 @@ package main func f1() { - exit: - print("hi\n"); +exit: + print("hi\n") + goto exit } func f2() { - const c = 1234; + const c = 1234 } func f3() { - i := c; // ERROR "undef" + i := c // ERROR "undef" } func main() { - f3(); + f3() } |