Added placeholders for type casts
This commit is contained in:
parent
f87cda97e2
commit
a905710982
19 changed files with 61 additions and 42 deletions
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue