X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;fp=csrc%2Foceani-tests.mdc;h=d2628815b35d190dc8ff70182cb7351a5f2a29ae;hp=0b7c76a726ca8ecc66ee4d68efb9f6f09dc43728;hb=00ebc52dd6c8c5bc85795cd1eec6552ca49954e7;hpb=c149917d5ddbdc64113f429a6c9c531fdc47c450 diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index 0b7c76a..d262881 100644 --- a/csrc/oceani-tests.mdc +++ b/csrc/oceani-tests.mdc @@ -702,6 +702,13 @@ Test functions. They don't return anything, so we need to get them to print do n = 4 // xkcd:221 + // exercise the parsing options + func t1 (a:number) { + print "t1" + } + func t2 (a:string) {print "string"} + func t3() print "t3" + ###### output: functions done 1 done