* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / mbas / Test / errors / LocalVariableC5.vb
1 'Author:
2 '   V. Sudharsan (vsudharsan@novell.com)
3 '
4 ' (C) 2005 Novell, Inc.
5
6 REM LineNo: 13\r
7 REM ExpectedError: BC30288\r
8 REM ErrorMessage: Local variable 'y' is already declared in the current block..\r
9 \r
10 Module M\r
11         Sub fun()\r
12                  Static Dim y as Integer = 10\r
13                Dim y as Char\r
14         end Sub\r
15       Sub Main()                \r
16       End Sub\r
17 End Module