a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
284 B
C#
17 lines
284 B
C#
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 ()
|
|
{ }
|
|
}
|