repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-17 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
gtest-234.cs
blob
28fb7d73182e32956596280db11d952ac1bbf55f
1
public interface
IFoo { }
2
public interface
IFoo
<
T
> :
IFoo { }
3
4
public class
Test
5
{
6
public
IFoo
GetFoo
()
{ return GetFooGeneric<object> (); }
7
8
public
IFoo
<
T
>
GetFooGeneric
<
T
> ()
{ return default (IFoo<T>); }
9
10
static void
Main
()
11
{
12
Test test
=
new
Test
();
13
test
.
GetFoo
();
14
}
15
}