New test
authorMarek Safar <marek.safar@gmail.com>
Mon, 6 Jan 2014 10:07:04 +0000 (11:07 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 6 Jan 2014 10:10:08 +0000 (11:10 +0100)
mcs/tests/test-async-58.cs [new file with mode: 0644]

diff --git a/mcs/tests/test-async-58.cs b/mcs/tests/test-async-58.cs
new file mode 100644 (file)
index 0000000..484746c
--- /dev/null
@@ -0,0 +1,23 @@
+using System;
+using System.Threading.Tasks;
+
+public class A
+{
+       public int Get ()
+       {
+               return 1;
+       }
+}
+
+public class B : A
+{
+       public async Task<int> GetAsync ()
+       {
+               return base.Get ();
+       }
+       
+       static void Main ()
+       {
+               new B ().GetAsync ().Wait ();
+       }
+}
\ No newline at end of file