Changeset: 5f7075b34169 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5f7075b34169
Added Files:
        monetdb5/mal/Tests/tst781.malC
Modified Files:
        monetdb5/mal/Tests/All
Branch: malparsing
Log Message:

Test for recursive MAL function


diffs (30 lines):

diff --git a/monetdb5/mal/Tests/All b/monetdb5/mal/Tests/All
--- a/monetdb5/mal/Tests/All
+++ b/monetdb5/mal/Tests/All
@@ -160,6 +160,7 @@ tst755
 tst760
 tst770
 tst780
+tst781
 tst802
 tst804
 tst810
diff --git a/monetdb5/mal/Tests/tst781.malC b/monetdb5/mal/Tests/tst781.malC
new file mode 100644
--- /dev/null
+++ b/monetdb5/mal/Tests/tst781.malC
@@ -0,0 +1,14 @@
+module dummy;
+
+function help(s:str, i:int):void;
+       barrier b:= i >0;
+               io.print(s);
+               i:= i -1;
+               help(s,i);
+               redo b:= i>0;
+       exit b;
+end help;
+
+dummy.help("hello",2);
+
+       
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to