LSL-PyOptimizer/unit_tests/coverage.suite/preproc-use-switches-and-lazy-lists.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

26 lines
540 B
Text

list lazy_list_set(list L, integer i, list v)
{
while ((L != []) < i)
L = L + 0;
return llListReplaceList(L, v, i, i);
}
default
{
state_entry()
{
list a;
a = lazy_list_set(a, 1, (list)0);
{
if (!~-(a != []))
jump J_autoGen00002;
jump J_autoGen00003;
@J_autoGen00002;
llOwnerSay("1");
jump J_autoGen00001;
@J_autoGen00003;
llOwnerSay("other");
@J_autoGen00001;
}
}
}