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