repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
btests
/
ArithmeticOperatorsC3.vb
blob
3f3ba0a9367dd464d9b0d8d8887887d1631f196f
1
REM LineNo: 19
2
REM ExpectedError: BC30512
3
REM ErrorMessage: Option Strict On disallows implicit conversions from 'Double' to 'Long'.
4
5
Option
Strict
On
6
Imports System
7
8
Module
ArithmeticOperatorsC2
9
10
Sub
main
()
11
Dim
a1
,
a2
As
Integer
12
13
a1
=
12
\
2.5
14
15
Dim
b1
As
Decimal
16
b1
=
34.45
D
17
End Sub
18
19
End Module