* GetType.vb:
* Test.sources: add a test for GetType
svn path=/trunk/mcs/; revision=32030
+2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
+ * GetType.vb:
+ * Test.sources: add a test for GetType
+
2004-08-06 Bernie Solomon <bernard@Ugsolutions.com>
* Dll1.vb:
--- /dev/null
+Imports System
+
+Module Test
+ Sub Main
+ Dim s As String = GetType(String).ToString()
+ If s <> "System.String" Then
+ Throw New Exception("#A1: wrong type returned")
+ End If
+ Dim t As Type = GetType(String)
+ If Not t Is s.GetType() Then
+ Throw New Exception("#A2: wrong type returned")
+ End If
+ End Sub
+End Module
+
+