2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / mbas / Test / tests / ImpConversionBoolToLongA1.vb
1 Module ImpConversionofBooltoLong
2         Sub Main()
3                 Dim b as Boolean = False
4                 Dim a as Long = b 
5                 if a <> 0 then 
6                         Throw New System.Exception("Implicit Conversion of Bool(False) to Long has Failed. Expected 0, but got " & a)
7                 End if          
8         End Sub
9 End Module