projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
gtest-446.cs
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
}