projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
2007998
214c09b
)
New test.
author
Martin Baulig
<martin@novell.com>
Wed, 4 Oct 2006 20:50:59 +0000
(20:50 -0000)
committer
Martin Baulig
<martin@novell.com>
Wed, 4 Oct 2006 20:50:59 +0000
(20:50 -0000)
svn path=/trunk/mcs/; revision=66262
1
2
mcs/tests/gtest-anon-12.cs
patch
|
|
|
blob
diff --cc
mcs/tests/gtest-anon-12.cs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0a629af971981c12e177b5d6311b73c64af16483
new file mode 100644
(file)
--- /dev/null
--- /dev/null
+++ b/
mcs/tests/gtest-anon-12.cs
@@@ -1,0 -1,0
+1,26
@@@
++using System;
++
++public delegate void Foo ();
++
++public class World<T>
++{
++ public void Hello<U> (U u)
++ { }
++
++ public void Test (T t)
++ {
++ Hello (t);
++ Foo foo = delegate {
++ Hello (t);
++ };
++ }
++}
++
++class X
++{
++ static void Main ()
++ {
++ World<X> world = new World<X> ();
++ world.Test (new X ());
++ }
++}