diff options
Diffstat (limited to 'test-beta/definition/label.lua')
-rw-r--r-- | test-beta/definition/label.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test-beta/definition/label.lua b/test-beta/definition/label.lua new file mode 100644 index 00000000..205915b6 --- /dev/null +++ b/test-beta/definition/label.lua @@ -0,0 +1,29 @@ +TEST [[ +::<!LABEL!>:: +goto <?LABEL?> +]] + +TEST [[ +goto <?LABEL?> +::<!LABEL!>:: +]] + +TEST [[ +::LABEL:: +function _() + goto <?LABEL?> +end +]] + +TEST [[ +do + goto <?LABEL?> +end +::<!LABEL!>:: +]] + +TEST [[ +::LABEL:: +goto <?LABEL?> +::<!LABEL!>:: +]] |