projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de7c47a
)
A test for bug #82299
author
Marek Safar
<marek.safar@gmail.com>
Fri, 3 Aug 2007 11:20:00 +0000
(11:20 -0000)
committer
Marek Safar
<marek.safar@gmail.com>
Fri, 3 Aug 2007 11:20:00 +0000
(11:20 -0000)
svn path=/trunk/mcs/; revision=83396
mcs/tests/test-anon-70.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mcs/tests/test-anon-70.cs
b/mcs/tests/test-anon-70.cs
new file mode 100644
(file)
index 0000000..
061757a
--- /dev/null
+++ b/
mcs/tests/test-anon-70.cs
@@ -0,0
+1,18
@@
+public class C
+{
+ delegate void D ();
+
+ static void Test (D d)
+ {
+ }
+
+ public static void Main ()
+ {
+ int[] i_a = new int [] { 1,2,3 };
+
+ Test (delegate () {
+ foreach (int t in i_a) {
+ }
+ });
+ }
+}
\ No newline at end of file