Commit 8f0d12e2 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

vbscript/tests: Add more function call tests with array arguments.

parent 2c6c5e0d
......@@ -1250,6 +1250,20 @@ Call testarrarg(1, "VT_I2*")
Call testarrarg(false, "VT_BOOL*")
Call testarrarg(Empty, "VT_EMPTY*")
Sub modifyarr(arr)
'Following test crashes on wine
'Call ok(arr(0) = "not modified", "arr(0) = " & arr(0))
arr(0) = "modified"
End Sub
arr(0) = "not modified"
Call modifyarr(arr)
Call ok(arr(0) = "modified", "arr(0) = " & arr(0))
arr(0) = "not modified"
modifyarr(arr)
Call todo_wine_ok(arr(0) = "not modified", "arr(0) = " & arr(0))
' It's allowed to declare non-builtin RegExp class...
class RegExp
public property get Global()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment