mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
9be4ce928b
Updates #1847
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)
|
|
}
|