runtime: c.Uint

This commit is contained in:
xushiwei
2024-05-07 00:15:06 +08:00
parent 028c6cdf50
commit 4eb7e4000b
3 changed files with 52 additions and 0 deletions

13
cl/_testdata/uint/in.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import "github.com/goplus/llgo/c"
func f(a c.Uint) c.Uint {
a++
return a
}
func main() {
var a c.Uint = 100
c.Printf(c.Str("Hello, %u\n"), f(a))
}