* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / mbas / Test / tests / conversions / ImpConversionStringtoShortA.vb
1 'Author:
2 '   V. Sudharsan (vsudharsan@novell.com)
3 '
4 ' (C) 2005 Novell, Inc.
5
6 Module ImpConversionStringtoShortA
7         Sub Main()
8                         Dim a as Short
9                         Dim b as String= "123"
10                         a = b
11                         if a <> 123
12                                 Throw new System.Exception("Conversion of String to Short not working. Expected 123 but got " &a) 
13                         End if          
14         End Sub
15 End Module