projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dba964
)
New test
author
Marek Safar
<marek.safar@gmail.com>
Mon, 6 Jan 2014 10:07:04 +0000
(11:07 +0100)
committer
Marek 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]
patch
|
blob
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
+++ 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<int> GetAsync ()
+ {
+ return base.Get ();
+ }
+
+ static void Main ()
+ {
+ new B ().GetAsync ().Wait ();
+ }
+}
\ No newline at end of file