blob: 4f402ed83090c37f75be5940ffca2607cc9e9a3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public class Test
{
void Bar ()
{
G<int> g = G<int>.Instance;
}
// When it goes outside, there is no error.
public class G<T>
{
public static G<T> Instance;
}
public static void Main ()
{ }
}
|