add bug info
[mcs.git] / tests / gtest-212.cs
blobd8ba07d4b061a018dbd8fce062556fdc728559f0
1 public interface SomeInterface
3 bool Valid { get; }
6 public struct SomeStruct : SomeInterface
8 public bool Valid {
9 get {
10 return false;
15 public class Test
17 public static void Fun<T>(T t) where T:SomeInterface {
18 bool a = t.Valid;
21 static void Main()
23 Fun(new SomeStruct());