New test, updates.
authorMarek Safar <marek.safar@gmail.com>
Tue, 12 Jun 2007 14:56:46 +0000 (14:56 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 12 Jun 2007 14:56:46 +0000 (14:56 -0000)
svn path=/trunk/mcs/; revision=79281

mcs/errors/gcs0308-2.cs [new file with mode: 0644]
mcs/errors/gcs0308-3.cs
mcs/errors/gcs0308-4.cs
mcs/errors/gcs0308.cs

diff --git a/mcs/errors/gcs0308-2.cs b/mcs/errors/gcs0308-2.cs
new file mode 100644 (file)
index 0000000..2979fcf
--- /dev/null
@@ -0,0 +1,14 @@
+// CS0308: The non-generic type `NamingContext' cannot be used with the type arguments
+// Line: 6
+
+class Program
+{
+       static NamingContext<int> Lookup ()
+       {
+               return null;
+       }
+}
+
+class NamingContext
+{
+}
\ No newline at end of file
index 1de9428da6371256653785abe7501fb84c072bc9..140d3af9f1f773a95290a6e81373ed46cacf405d 100644 (file)
@@ -1,4 +1,4 @@
-// CS0308: The type or namespace name `DateTime`1' could not be found. Are you missing a using directive or an assembly reference?
+// CS0308: The non-generic type `System.DateTime' cannot be used with the type arguments
 // Line: 8
 
 using System;
index 1d7b9e8c99b0011aee2916a14c69eeb3928f50df..e96039ab91486dc90a4a9ef6b908aac6090e690c 100644 (file)
@@ -1,4 +1,4 @@
-// CS0308: The type or namespace name `Stack`1' could not be found. Are you missing a using directive or an assembly reference?
+// CS0308: The non-generic type `Stack' cannot be used with the type arguments
 // Line: 9
 
 class Stack
index 2b27489c31b0380e2c7b4784afefd46a6febdee5..de8daf16cb95613549e71cf1a658b6623ff842f8 100644 (file)
@@ -1,4 +1,4 @@
-// CS0308: The non-generic type `N1.A' cannot be used with the type argument(s)
+// CS0308: The non-generic type `N1.A' cannot be used with the type arguments
 // Line: 11
 namespace N1
 {