summaryrefslogtreecommitdiff
path: root/mcs/tests/test-async-57.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tests/test-async-57.cs')
-rw-r--r--mcs/tests/test-async-57.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-async-57.cs b/mcs/tests/test-async-57.cs
new file mode 100644
index 0000000000..aa7e59e5ff
--- /dev/null
+++ b/mcs/tests/test-async-57.cs
@@ -0,0 +1,16 @@
+using System.Threading.Tasks;
+using System;
+
+class X
+{
+ readonly Func<string, Task> action = null;
+
+ public static void Main ()
+ {
+ }
+
+ protected async Task TestAsync ()
+ {
+ await action ("");
+ }
+} \ No newline at end of file