diff options
Diffstat (limited to 'test/diagnostics/unused-vararg.lua')
-rw-r--r-- | test/diagnostics/unused-vararg.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/diagnostics/unused-vararg.lua b/test/diagnostics/unused-vararg.lua new file mode 100644 index 00000000..2bed4aab --- /dev/null +++ b/test/diagnostics/unused-vararg.lua @@ -0,0 +1,6 @@ +TEST [[ +local function f(<!...!>) + return 'something' +end +f() +]] |