Add regression test for the keyerror bug

This commit is contained in:
Sei Lisa 2019-02-26 02:28:21 +01:00
parent 73bc2c29a8
commit 2c94905f1e
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,13 @@
integer x() inline
{
return 3;
}
default
{
touch(integer n)
{
x();
n++;
}
}

View file

@ -0,0 +1,16 @@
default
{
touch(integer LslLibrary)
{
integer loc____ret__00001;
{
{
loc____ret__00001 = 3;
;
}
}
@___rtl__00001;
loc____ret__00001;
LslLibrary++;
}
}

View file

@ -0,0 +1 @@
main.py - -O -constfold,inline,shrinknames -y