diff options
Diffstat (limited to 'test/implementation/bug.lua')
-rw-r--r-- | test/implementation/bug.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/implementation/bug.lua b/test/implementation/bug.lua index b0e890ca..8f80030b 100644 --- a/test/implementation/bug.lua +++ b/test/implementation/bug.lua @@ -13,3 +13,12 @@ function _(<!x!>) <?x?> = 1 end ]] + +TEST [[ +local <!x!> +if 1 then + x = 1 +else + <?x?> = 2 +end +]] |