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
/
mbas
/
Test
/
errors
/
LocalDeclarationC5.vb
blob
f20859fc990a1539d6cb0b595b48f5b1d3040c67
1
REM LineNo: 12
2
REM ExpectedError: BC30074
3
REM ErrorMessage: Constant cannot be the target of an assignment.
4
5
Imports System
6
7
Module
LocalDeclarationC1
8
9
Sub
Main
()
10
Const
a
As
Integer
=
10
11
Const
b
As
Integer
=
20
12
b
=
a
+
b
13
End Sub
14
15
End Module