package mainvar a intfunc main() { a = 5 println(a)f()}func f() {a := 6println(a)g()}func g() {println(a)}
Standard input is empty
prog.go:15: missing newline at end of file
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!