Add unit test for the _Pragma operator

This commit is contained in:
Sei Lisa 2019-01-15 20:38:19 +01:00
parent 7fd7eae56c
commit e261ac2121
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,14 @@
_Pragma("OPT inline")
string f(integer x) inline
{
return "ok";
}
default
{
state_entry()
{
llOwnerSay(f(5));
}
}