LSL-PyOptimizer/unit_tests/coverage.suite/lslparse-2.out
Sei Lisa 1867dc78e7 Add the new test suite.
This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations.

See unit_tests/README.txt for more info.
2019-01-04 20:27:36 +01:00

93 lines
1.8 KiB
Text

string S = "ab";
integer f()
{
return 1;
}
default
{
timer()
{
"ab";
integer i;
float f;
list L;
f += (float)i;
L += (list)((integer)((float)i));
i = (~(integer)-2) * 3;
i = (~(integer)-2.) * 3;
i = (~(integer)(-i)) * 3;
"" + (string)((key)"");
(string)((key)"") + "";
@J;
{
jump J_autoGen00001;
{
1;
}
@J_autoGen00001;
}
{
while (1)
{
jump J_autoGen00002;
{
for (; 2; )
{
jump J_autoGen00005;
jump J_autoGen00004;
@J_autoGen00005;
}
@J_autoGen00004;
}
jump J_autoGen00003;
@J_autoGen00003;
}
@J_autoGen00002;
}
{
do
{
jump J_autoGen00007;
jump J_autoGen00006;
@J_autoGen00007;
}
while (1);
@J_autoGen00006;
}
jump x;
while (1)
@x;
jump y;
for (; 1; )
@y;
jump z;
do
@z;
while (0);
{
if (1. == (float)1)
jump J_autoGen00015;
jump J_autoGen00014;
@J_autoGen00015;
{
1;
}
@J_autoGen00014;
}
{
{
}
}
while (1)
;
while (1)
{
while (1)
while (1)
jump J_autoGen00022;
@J_autoGen00022;
}
}
}