diff options
Diffstat (limited to 'script-beta/test/definition/function.lua')
-rw-r--r-- | script-beta/test/definition/function.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/script-beta/test/definition/function.lua b/script-beta/test/definition/function.lua new file mode 100644 index 00000000..ce20f50b --- /dev/null +++ b/script-beta/test/definition/function.lua @@ -0,0 +1,24 @@ + +TEST [[ +function <!x!> () end +<?x?>() +]] + +TEST [[ +local function <!x!> () end +<?x?>() +]] + +TEST [[ +local x +local function <!x!> () + <?x?>() +end +]] + +TEST [[ +local <!x!> +function <!x!>() +end +<?x?>() +]] |