Browse Source

New test.

svn path=/trunk/mcs/; revision=92658
Marek Safar 18 years ago
parent
commit
a2cbb4dfcd
1 changed files with 13 additions and 0 deletions
  1. 13 0
      mcs/errors/gcs0201.cs

+ 13 - 0
mcs/errors/gcs0201.cs

@@ -0,0 +1,13 @@
+// CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
+// Line: 10
+
+class TestClass
+{
+	delegate void test_delegate (int arg);
+
+	public TestClass ()
+	{
+		test_delegate D = (b) => "a";
+	}
+}
+