Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-08-18 19:20:24 +0400
committerMarek Safar <marek.safar@gmail.com>2011-08-18 19:25:25 +0400
commitfccc5d91afb8de3e96d920b15c742f53e2118b3d (patch)
tree0eb37433b07e0b484c28a4dc07f2e908c7ee348c /mcs/tests/test-async-22.cs
parent2e148555e449870027fabfeda222c56e702738e3 (diff)
Make await contextual keyword
Diffstat (limited to 'mcs/tests/test-async-22.cs')
-rw-r--r--mcs/tests/test-async-22.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/tests/test-async-22.cs b/mcs/tests/test-async-22.cs
index 2f4d62cf92d..d8cd87bd359 100644
--- a/mcs/tests/test-async-22.cs
+++ b/mcs/tests/test-async-22.cs
@@ -38,6 +38,14 @@ class async
{
async (async arg)
{
+ int await = 0;
+ }
+}
+
+class await
+{
+ await (await arg)
+ {
}
}