mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57: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)
|
||
|
}
|