mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +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)
|
||
|
}
|