16 lines
157 B
C#
16 lines
157 B
C#
|
class Test<T> where T: struct{
|
||
|
public Test(){
|
||
|
T s = new T();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static int Main ()
|
||
|
{
|
||
|
new Test<bool> ();
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
|