projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f183e
)
New test.
author
Martin Baulig
<martin@novell.com>
Wed, 4 Oct 2006 20:51:14 +0000
(20:51 -0000)
committer
Martin Baulig
<martin@novell.com>
Wed, 4 Oct 2006 20:51:14 +0000
(20:51 -0000)
svn path=/branches/martin/anonymous-methods/work/; revision=66266
mcs/work/test-martin-25.cs
[deleted file]
patch
|
blob
|
history
diff --git
a/mcs/work/test-martin-25.cs
b/mcs/work/test-martin-25.cs
deleted file mode 100644
(file)
index
5712fb9
..0000000
--- a/
mcs/work/test-martin-25.cs
+++ /dev/null
@@
-1,25
+0,0 @@
-using System;
-using System.Collections.Generic;
-
-delegate int Foo ();
-
-class X
-{
- static void Main ()
- {
- Test ("Hello World", 8);
- }
-
- public static void Test<R> (R r, int a)
- {
- for (int b = a; b > 0; b--) {
- R s = r;
- Foo foo = delegate {
- Console.WriteLine (b);
- Console.WriteLine (s);
- return 3;
- };
- a -= foo ();
- }
- }
-}