summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug140.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug140.go')
-rw-r--r--test/fixedbugs/bug140.go13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/fixedbugs/bug140.go b/test/fixedbugs/bug140.go
index 298081663..e27b370e7 100644
--- a/test/fixedbugs/bug140.go
+++ b/test/fixedbugs/bug140.go
@@ -7,8 +7,17 @@
package main
func main() {
- if true {} else L1: ;
- if true {} else L2: main() ;
+ if true {
+ } else {
+ L1:
+ }
+ if true {
+ } else {
+ L2:
+ main()
+ }
+ goto L1
+ goto L2
}
/*