mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 23:47:26 +01:00
14 lines
115 B
Go
14 lines
115 B
Go
|
package main
|
||
|
|
||
|
const F = float(1)
|
||
|
|
||
|
func Foo() float {
|
||
|
return F
|
||
|
}
|
||
|
|
||
|
const I = int(2.0)
|
||
|
|
||
|
func Bar() int {
|
||
|
return I
|
||
|
}
|