From 27d6efb5f5a076f825fe2da1875e0cabaf02b4e7 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 17 Nov 2021 23:03:07 +0800 Subject: + LuaMacro --- Tools/LuaMacro/tests/test-proto.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Tools/LuaMacro/tests/test-proto.lua (limited to 'Tools/LuaMacro/tests/test-proto.lua') diff --git a/Tools/LuaMacro/tests/test-proto.lua b/Tools/LuaMacro/tests/test-proto.lua new file mode 100644 index 0000000..753c9fd --- /dev/null +++ b/Tools/LuaMacro/tests/test-proto.lua @@ -0,0 +1,10 @@ +require_ "proto" + +Function bonzo (a: number, b: string) : string + return a .. b +end + +print (bonzo(10,"hello")) +print (bonzo("hello")) ---> blows up! + + -- cgit v1.1-26-g67d0