diff options
Diffstat (limited to 'Tools/LuaMacro/tests/test-proto.lua')
-rw-r--r-- | Tools/LuaMacro/tests/test-proto.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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! + + |