projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* roottypes.cs: Rename from tree.cs.
[mono.git]
/
mcs
/
mbas
/
Test
/
tests
/
conversions
/
ImpConversionBoolToSingleA2.vb
1
Module ImpConversionofBooltoSingle
2
Sub Main()
3
Dim b as Boolean = True
4
Dim a as Single = b
5
if a <> -1 then
6
Throw New System.Exception("Implicit Conversion of Bool(True) to Single has Failed. Expected -1 got " & a)
7
End if
8
End Sub
9
End Module