* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / mbas / Test / errors / LocalVariableC10.vb
1 'Author:\r
2 '   V. Sudharsan (vsudharsan@novell.com)\r
3 '\r
4 ' (C) 2005 Novell, Inc.\r
5 \r
6 REM LineNo: 14\r
7 REM ExpectedError:  BC30616\r
8 REM ErrorMessage: Variable 'i' hides a variable in an enclosing block.\r
9 \r
10 Module M\r
11         sub main()\r
12                 Dim i as Integer\r
13                 If true then\r
14                         Dim i as Integer\r
15                     End if\r
16         End sub\r
17 End Module\r