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
/
LocalDeclarationC3.vb
blob
7bd2050ca8dd511f96c2b4ef7d0a7f6978ca088b
1
REM LineNo: 11
2
REM ExpectedError: BC30246
3
REM ErrorMessage: 'Static' is not valid on a local constant declaration.
4
5
Imports System
6
7
Module
LocalDeclarationC2
8
9
Sub
main
()
10
Static
Dim
a2
As
Integer
=
11
11
Static
Const
a3
As
Integer
=
12
12
End Sub
13
14
End Module