2 REM ExpectedError: BC30667
3 REM ErrorMessage: ParamArray parameters must be declared 'ByVal'.
5 '=============================================================================================
6 'Name:Manish Kumar Sinha
7 'Email Address: manishkumarsinha@sify.com
8 'Test Case Name: Param Array:
9 'APR-1.1.1:If ParamArray modifier is precied by ByRef modifier the it produces compiler error
10 '=============================================================================================
13 Function F(ParamArray
ByRef args() As Integer) As Integer()
16 Console
.Write(" " & i
)
21 Dim a
As Integer() = { 1, 2, 3 }
28 '================================================================================