Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-295.cs
1 namespace Test {
2     class Cache<T> where T : class {
3     }
4
5     class Base {
6     }
7
8     class MyType<T> where T : Base {
9         Cache<T> _cache;   // CS0452
10     }
11
12     class Foo { public static void Main () { object foo = new MyType<Base> (); } }
13 }