mirror of
https://github.com/hanzoai/yaegi.git
synced 2026-10-01 00:49:47 +00:00
* gi: rename gi_c into _gi_c * gi: rename test into _test * gi: fix README syntax
14 lines
108 B
Go
14 lines
108 B
Go
package main
|
|
|
|
func main() {
|
|
a := 1
|
|
if a := 2; a > 0 {
|
|
println(a)
|
|
}
|
|
println(a)
|
|
}
|
|
|
|
// Output:
|
|
// 2
|
|
// 1
|