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