diff options
author | Martin Baulig <martin@novell.com> | 2006-01-12 21:27:18 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2006-01-12 21:27:18 +0300 |
commit | bdc0050c26933a5b7e6df9263580dd6d806fbde6 (patch) | |
tree | 401349a50546c46579bb1f5fceea20d9b88e1453 /mcs/tests/gtest-234.cs | |
parent | 0eb3676fcc468c32a6fce95ac78eb553e1949554 (diff) |
New test.
svn path=/trunk/mcs/; revision=55440
Diffstat (limited to 'mcs/tests/gtest-234.cs')
-rwxr-xr-x | mcs/tests/gtest-234.cs | 15 |
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 (); + } +} |