New test
authorMarek Safar <marek.safar@gmail.com>
Sun, 24 Feb 2013 11:42:48 +0000 (12:42 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 25 Feb 2013 13:11:02 +0000 (14:11 +0100)
mcs/errors/cs4003-2.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs4003-2.cs b/mcs/errors/cs4003-2.cs
new file mode 100644 (file)
index 0000000..20fd40f
--- /dev/null
@@ -0,0 +1,14 @@
+// CS4003: `await' cannot be used as an identifier within an async method or lambda expression
+// Line: 8
+
+class Tester
+{
+       int await;
+       
+       async void Test ()
+       {
+               var a = new Initializer () {
+                       await = 2
+               };
+       }
+}