2012-02-16 21:50:37 -07:00
|
|
|
// run
|
2008-06-06 15:27:34 -06:00
|
|
|
|
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
2012-01-18 14:20:55 -07:00
|
|
|
func main() {
|
|
|
|
i := 0
|
2008-06-06 15:27:34 -06:00
|
|
|
if false {
|
2012-01-18 14:20:55 -07:00
|
|
|
goto gogoloop
|
2008-06-06 15:27:34 -06:00
|
|
|
}
|
|
|
|
if false {
|
2012-01-18 14:20:55 -07:00
|
|
|
goto gogoloop
|
2008-06-06 15:27:34 -06:00
|
|
|
}
|
|
|
|
if false {
|
2012-01-18 14:20:55 -07:00
|
|
|
goto gogoloop
|
2008-06-06 15:27:34 -06:00
|
|
|
}
|
2012-01-18 14:20:55 -07:00
|
|
|
goto gogoloop
|
2008-06-06 15:27:34 -06:00
|
|
|
|
2012-01-18 14:20:55 -07:00
|
|
|
// backward declared
|
2008-06-06 15:27:34 -06:00
|
|
|
loop:
|
2012-01-18 14:20:55 -07:00
|
|
|
i = i + 1
|
2008-06-06 15:27:34 -06:00
|
|
|
if i < 100 {
|
2012-01-18 14:20:55 -07:00
|
|
|
goto loop
|
2008-06-06 15:27:34 -06:00
|
|
|
}
|
2012-01-18 14:20:55 -07:00
|
|
|
return
|
2008-06-06 15:27:34 -06:00
|
|
|
|
|
|
|
gogoloop:
|
2012-01-18 14:20:55 -07:00
|
|
|
goto loop
|
2008-06-06 15:27:34 -06:00
|
|
|
}
|