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>2014-09-24 14:25:45 +0400
committerMarek Safar <marek.safar@gmail.com>2014-09-24 14:29:06 +0400
commit1d94d1770d31b69bf24c4661945351969b58cbf3 (patch)
tree0190f217ea0407b2175b57af015330ca532af11e /mcs/tests/gtest-409.cs
parentff165854bde268b46dcb5c2a2ef03241e6f2432a (diff)
[mcs] More tweaks to conditional tokenizer. Fixes #23319
Diffstat (limited to 'mcs/tests/gtest-409.cs')
-rw-r--r--mcs/tests/gtest-409.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/tests/gtest-409.cs b/mcs/tests/gtest-409.cs
index 2071b625c3a..2f5ea10ae8f 100644
--- a/mcs/tests/gtest-409.cs
+++ b/mcs/tests/gtest-409.cs
@@ -155,6 +155,11 @@ public class ConditionalParsing
var e = b ? () => { } : a;
}
+ void Test_19 (int[,] table)
+ {
+ var x = 1 > 0 ? table[5, 1] : 0;
+ }
+
static void Helper<T> (T arg)
{
}