☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
redeclaration-global5.go
☽
☼
_test/redeclaration-global5.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
var
time
int
4
5
func
time()
string
{
6
return
"hello"
7
}
8
9
func
main() {
10
t := time()
11
println(t)
12
}
13
14
// Error:
15
// ../_test/redeclaration-global5.go:5:6: time redeclared in this block
16
// previous declaration at ../_test/redeclaration-global5.go:3:5