2010-04-07 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git] / mono / tests / generic-array-type.2.cs
blob5e5074b12dfe253b40badf3e8b5ed08c3137edfd
1 using System;
3 public class Gen<T> {
4 public Type arrayType () {
5 return typeof (T []);
9 public class main {
10 public static int Main () {
11 Gen<string> gs = new Gen<string> ();
13 if (gs.arrayType () != typeof (string []))
14 return 1;
15 return 0;