Browse Source

Added cs0202.cs test error.

svn path=/trunk/mcs/; revision=9860
Alejandro Sánchez Acosta 23 years ago
parent
commit
ada835f12f
2 changed files with 14 additions and 1 deletions
  1. 5 1
      mcs/errors/ChangeLog
  2. 9 0
      mcs/errors/cs0202.cs

+ 5 - 1
mcs/errors/ChangeLog

@@ -1,6 +1,10 @@
 2002-12-24  Alejandro Sánchez Acosta  <[email protected]>
 
-	* cs0197.cs: Added new test
+	* cs0202.cs: Added new test.
+	
+2002-12-24  Alejandro Sánchez Acosta  <[email protected]>
+
+	* cs0197.cs: Added new test.
 
 2002-12-23  Alejandro Sánchez Acosta  <[email protected]>
 

+ 9 - 0
mcs/errors/cs0202.cs

@@ -0,0 +1,9 @@
+// cs0202.cs: GetEnumerator cant return a pointer, only an instance.
+// Line: 6
+
+public class Foo
+{
+	int P* GetEnumerator ()
+	{
+	}
+}