Added placeholders for type casts
This commit is contained in:
8
tests/programs/cast.q
Normal file
8
tests/programs/cast.q
Normal file
@ -0,0 +1,8 @@
|
||||
main() {
|
||||
x := byte(42)
|
||||
assert f(x) == 42
|
||||
}
|
||||
|
||||
f(x byte) -> byte {
|
||||
return x
|
||||
}
|
Reference in New Issue
Block a user