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
/
ArithmeticOperatorsC4.vb
blob
b8519243c85be1d19db4b015ec5358a5dca99a4f
1
REM LineNo: 13
2
REM ExpectedError: BC30542
3
REM ErrorMessage: Division by zero occurred while evaluating this expression.
4
5
Imports System
6
7
Module
ArithmeticOperatorsC1
8
9
Sub
main
()
10
Dim
a1
,
a2
As
Integer
11
Dim
b1
As
Double
12
13
a1
=
10
\
Nothing
14
Console
.
WriteLine
(
a1
)
15
16
b1
=
12.35
/
0
17
Console
.
WriteLine
(
b1
)
18
End Sub
19
20
End Module