projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
496dfbf
84d63b9
)
New test.
author
Martin Baulig
<martin@novell.com>
Wed, 4 Oct 2006 20:43:30 +0000
(20:43 -0000)
committer
Martin Baulig
<martin@novell.com>
Wed, 4 Oct 2006 20:43:30 +0000
(20:43 -0000)
svn path=/trunk/mcs/; revision=66247
1
2
mcs/tests/test-anon-46.cs
patch
|
|
|
blob
diff --cc
mcs/tests/test-anon-46.cs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..283fd126a675b203184acb5f43df5236be6f5246
new file mode 100644
(file)
--- /dev/null
--- /dev/null
+++ b/
mcs/tests/test-anon-46.cs
@@@ -1,0 -1,0
+1,28
@@@
++using System;
++
++public delegate void Foo ();
++
++public class World
++{
++ public void Hello (long a)
++ { }
++
++ public void Test (int t)
++ {
++ Hello (t);
++ int u = 2 * t;
++ Foo foo = delegate {
++ Hello (u);
++ };
++ foo ();
++ }
++}
++
++class X
++{
++ static void Main ()
++ {
++ World world = new World ();
++ world.Test (5);
++ }
++}