cosmetic
[mcs.git] / tests / gtest-384.cs
bloba8eb40a9653aa1a67bb06591e618e76cae573eff
1 namespace N
3 public class TestG
5 public static void Foo<T> ()
11 class NonGeneric { }
12 class Generic<T> { }
14 class m
16 public global::NonGeneric compiles_fine (global::NonGeneric i, out global::NonGeneric o)
18 o = new global::NonGeneric ();
19 return new global::NonGeneric ();
22 public global::Generic<int> does_not_compile (global::Generic<int> i, out global::Generic<int> o)
24 o = new global::Generic<int> ();
25 return new global::Generic<int> ();
28 public static void Main ()
30 global::N.TestG.Foo<int> ();