[2020-02] Avoid following invalid pointers in mono_w32process_get_modules on Darwin...
[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;