Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2006-01-12 21:27:18 +0300
committerMartin Baulig <martin@novell.com>2006-01-12 21:27:18 +0300
commitbdc0050c26933a5b7e6df9263580dd6d806fbde6 (patch)
tree401349a50546c46579bb1f5fceea20d9b88e1453 /mcs/tests/gtest-234.cs
parent0eb3676fcc468c32a6fce95ac78eb553e1949554 (diff)
New test.
svn path=/trunk/mcs/; revision=55440
Diffstat (limited to 'mcs/tests/gtest-234.cs')
-rwxr-xr-xmcs/tests/gtest-234.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/gtest-234.cs b/mcs/tests/gtest-234.cs
new file mode 100755
index 00000000000..28fb7d73182
--- /dev/null
+++ b/mcs/tests/gtest-234.cs
@@ -0,0 +1,15 @@
+public interface IFoo { }
+public interface IFoo<T> : IFoo { }
+
+public class Test
+{
+ public IFoo GetFoo () { return GetFooGeneric<object> (); }
+
+ public IFoo<T> GetFooGeneric<T> () { return default (IFoo<T>); }
+
+ static void Main ()
+ {
+ Test test = new Test ();
+ test.GetFoo ();
+ }
+}