mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
Add regression test for the keyerror bug
This commit is contained in:
parent
73bc2c29a8
commit
2c94905f1e
3 changed files with 30 additions and 0 deletions
13
unit_tests/regression.suite/inliner-keyerror-bug.lsl
Normal file
13
unit_tests/regression.suite/inliner-keyerror-bug.lsl
Normal file
|
@ -0,0 +1,13 @@
|
|||
integer x() inline
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
default
|
||||
{
|
||||
touch(integer n)
|
||||
{
|
||||
x();
|
||||
n++;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue