From: Marek Safar Date: Mon, 6 Jan 2014 10:07:04 +0000 (+0100) Subject: New test X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=605b9491419b4965817c94056c168e2ec61a08ae;p=mono.git New test --- diff --git a/mcs/tests/test-async-58.cs b/mcs/tests/test-async-58.cs new file mode 100644 index 00000000000..484746c8bcc --- /dev/null +++ b/mcs/tests/test-async-58.cs @@ -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 GetAsync () + { + return base.Get (); + } + + static void Main () + { + new B ().GetAsync ().Wait (); + } +} \ No newline at end of file