class Test where T: struct{ public Test(){ T s = new T(); } } class X { static void Main () { } }