16 lines
157 B
C#
Raw Permalink Normal View History

class Test<T> where T: struct{
public Test(){
T s = new T();
}
}
class X
{
public static int Main ()
{
new Test<bool> ();
return 0;
}
}