mirror of
https://github.com/golang/go
synced 2024-11-05 23:36:12 -07:00
2226533658
The semantics of this change are that the last line will be subsituted in place of the expression, where as the lines before that will undergo variable substitution and be prepended before the lowest (in the AST tree sense) statement which included the expression. Change-Id: Ie2571934dcc1b0a30b5cec157e690924a4ac2c5a Reviewed-on: https://go-review.googlesource.com/77730 Reviewed-by: Alan Donovan <adonovan@google.com>
11 lines
105 B
Go
11 lines
105 B
Go
// +build ignore
|
|
|
|
package I1
|
|
|
|
import "fmt"
|
|
|
|
func example() {
|
|
temp := 5
|
|
fmt.Print(temp + temp + temp)
|
|
}
|