2009-02-10 Jeffrey Stedfast <fejj@novell.com>
[mono-project/dkf.git] / mcs / tests / gtest-208.cs
blobe827dc8efd78f47ece58023da019c1b86d89d976
1 public class SomeClass {
4 public class Foo<T> where T : class {
5 public T Do (object o) { return o as T; }
8 class Driver {
9 static void Main ()
11 Foo<SomeClass> f = new Foo<SomeClass> ();
12 f.Do ("something");