Add test file

This commit is contained in:
Valk Richard Li
2019-10-19 10:46:57 +08:00
committed by GitHub
parent e37d42a856
commit 5b67e8064a
6 changed files with 205 additions and 0 deletions

38
testing_files/loop.txt Normal file
View File

@@ -0,0 +1,38 @@
while(n==1 )
{
i=i+1;
f(i);
print("str");
}
while(n==1 and "str"==str)
{
print("str");
}
i+=i1;
i+=i.i[0];
i=i.i[0].i(0);
var hash={
f:func {var e=1;return 0;},
};
for(var i=0;i<1024;i+=1)
{
print(i);
}
for(var i=0;(2*512)>=i;i+=1)
{
print(i);
}
foreach(var i;[1+(1+1),2,3,4])
{
print(i);
}
forindex(var i=list;[1,2,3,4])
{
print(i[0]);
}
while(!id)
{
print("yes");
}