diff options
author | Martin Baulig <martin@novell.com> | 2005-10-04 14:49:40 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2005-10-04 14:49:40 +0400 |
commit | 4ada6304beef8932cfa5b2102ce36936331e03e3 (patch) | |
tree | e06fc9b1fe229ffdf948f5c8c083d126e5669ec1 /mcs/tests/gtest-207.cs | |
parent | 13a5dcc6b75a56a3b851eda5cfdd305e9579ecfb (diff) |
2005-10-04 Martin Baulig <martin@ximian.com>
* expression.cs (DelegateInvocation.EmitStatement): Make this work
for corlib. Fixes #75691.
svn path=/trunk/mcs/; revision=51162
Diffstat (limited to 'mcs/tests/gtest-207.cs')
-rw-r--r-- | mcs/tests/gtest-207.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/gtest-207.cs b/mcs/tests/gtest-207.cs new file mode 100644 index 00000000000..84128e59f10 --- /dev/null +++ b/mcs/tests/gtest-207.cs @@ -0,0 +1,10 @@ +class M { + static void p (string x) { + System.Console.WriteLine (x); + } + + static void Main () { + string[] arr = new string[] { "a", "b", "c" }; + System.Array.ForEach (arr, p); + } +} |