Module StringTypeCharTest
    Sub Main()
        Try
            Dim m As String
            m = f(20)
            If m <> 20 Then
                Throw New Exception("StringTypeCharTest: failed")
            End If
            Exit Sub
        Catch e As Exception
            Console.WriteLine(e.Message)
        End Try
    End Sub

    Function f$(ByVal param$)
        f = param
    End Function
End Module
