Files
linux-packaging-mono/mcs/tests/gtest-268.cs

17 lines
284 B
C#
Raw Normal View History

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 ()
{ }
}