2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / mbas / Test / tests / ImpConversionLongtoIntA.vb
1 'Author:
2 '   V. Sudharsan (vsudharsan@novell.com)
3 '
4 ' (C) 2005 Novell, Inc.
5
6 Module ImpConversionofLongtoIntA
7         Sub Main()
8                 Dim a as Long = 123
9                 Dim b as Integer = a
10                 if b<>123 then 
11                         Throw New System.Exception("Implicit Conversion of Long to Int has Failed")
12                 End if          
13         End Sub
14 End Module