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