Began writing test case for function sections
This commit is contained in:
parent
e630ec6f04
commit
9fd285920b
18
tests/parser/func/main.arf
Normal file
18
tests/parser/func/main.arf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
:arf
|
||||||
|
---
|
||||||
|
func ro basicExternal
|
||||||
|
> someInput:Int:mut
|
||||||
|
< someOutput:Int 4
|
||||||
|
---
|
||||||
|
external
|
||||||
|
|
||||||
|
func ro method
|
||||||
|
@ bird:{Bird}
|
||||||
|
> someInput:Int:mut
|
||||||
|
< someOutput:Int 4
|
||||||
|
---
|
||||||
|
external
|
||||||
|
|
||||||
|
func ro basicPhrases
|
||||||
|
---
|
||||||
|
|
Reference in New Issue
Block a user