mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
22 lines
219 B
Go
22 lines
219 B
Go
|
package main
|
||
|
|
||
|
func Foo(x int) int {
|
||
|
const a = 1
|
||
|
return a + x
|
||
|
}
|
||
|
|
||
|
func Bar(x float) float {
|
||
|
const a = 1
|
||
|
return a + x
|
||
|
}
|
||
|
|
||
|
func Baz() int {
|
||
|
const a = 1
|
||
|
return Foo(a)
|
||
|
}
|
||
|
|
||
|
func Qux() float {
|
||
|
const a = 1
|
||
|
return Bar(a)
|
||
|
}
|