* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / mbas / Test / errors / OverloadingC1.vb
1 REM LineNo: 6
2 REM ExpectedError: BC30345
3 REM ErrorMessage: 'Public Function f(i As Integer) As Object' and 'Public Function f(ByRef i As Integer) As Object' cannot overload each other because they differ only by parameters declared 'ByRef' or 'ByVal'.
4
5 Module OverloadingC1
6     Function f(ByVal i As Integer)
7     End Function
8
9     Function f(ByRef i As Integer)
10     End Function
11
12     Sub Main()
13     End Sub
14 End Module