repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
tests
/
gtest-208.cs
blob
d5d0ee230c489911fc6f6ac9aab95cba5b255ffe
1
public class
SomeClass
{
2
}
3
4
public class
Foo
<
T
>
where T
:
class
{
5
public
T
Do
(
object
o
)
{ return o as T; }
6
}
7
8
class
Driver
{
9
public static void
Main
()
10
{
11
Foo
<
SomeClass
>
f
=
new
Foo
<
SomeClass
> ();
12
f
.
Do
(
"something"
);
13
}
14
}
15
16