New test.
authorMartin Baulig <martin@novell.com>
Wed, 28 Apr 2004 23:46:27 +0000 (23:46 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 28 Apr 2004 23:46:27 +0000 (23:46 -0000)
svn path=/trunk/mcs/; revision=26221

mcs/errors/cs0131-2.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0131-2.cs b/mcs/errors/cs0131-2.cs
new file mode 100644 (file)
index 0000000..059c669
--- /dev/null
@@ -0,0 +1,12 @@
+// CS0131: The left-hand side of an assignment must be a variable, property or indexer
+// Line: 10
+using System;
+
+class X
+{
+       static void Main ()
+       {
+               int a = 7;
+               +a = 9;
+       }
+}