Commit f2340640 authored by Hugo Moreau's avatar Hugo Moreau

deleting global tests

 * tests/global.go
parent eba0ffc1
Pipeline #26342 passed with stage
in 2 minutes and 11 seconds
package main
import (
"fmt"
)
var a = 2
var b int
func foo(here, not_here int) {
var d = 1
c, e := 2, 3
d += c + e
a = 42 + c
a, c, b = a, 2, 2
b = 2
a := 2
a += a
}
func main() {
var t = 1
test := 2
fmt.Println(a, b)
foo(t, test)
fmt.Println(a, b)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment