Test cases for Type members and Like operator
[mono.git] / mcs / mbas / Test / rerrors / Test / Variables2.vb
1 'Author:
2 '   V. Sudharsan (vsudharsan@novell.com)
3 '
4 ' (C) 2005 Novell, Inc.
5
6 Imports System\r
7 Imports Nunit.Framework\r
8 \r
9 <TestFixture>_\r
10 Public Class Variables2\r
11         _<Test, ExpectedException (GetType (System.InvalidCastException))>\r
12         Public Sub TestForException()\r
13                 dim a as string = "hello"\r
14                 dim i(1,a) as A \r
15         End Sub\r
16 End Class