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
Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git]
/
mcs
/
tests
/
gtest-446.cs
blob
d949be5221ad7cca2e3c3eb5df2b433076c27032
1
using
System
;
2
3
namespace
BugTest
4
{
5
class
Bug
<
T
>
where T
:
new
()
6
{
7
public void
CreateObject
(
out
T param
)
8
{
9
param
=
new
T
();
10
}
11
}
12
13
static class
Program
14
{
15
public static int
Main
()
16
{
17
Bug
<
object
>
bug
=
new
Bug
<
object
> ();
18
object
test
;
19
bug
.
CreateObject
(
out
test
);
20
return
0
;
21
}
22
}
23
}