Merge pull request #4274 from kumpera/cctor-abort
[mono.git] / mono / dis / tests / test2.cs
1 /* Bug #76671
2    Note: gmcs currently emits duplicate TypeSpecs, so this
3          case doesn't get exposed, so use csc compiled
4          assemblies till gmcs is fixed.
5
6    Array of type params
7 */
8 using System;
9
10 class list <T> {
11         public static void bar ()
12         {
13                 gen<int, T[][]>.foo ();
14                 gen<int[][], T>.foo ();
15                 gen<int, T[][,]>.foo ();
16                 gen<T[,,], int>.foo ();
17         }
18 }
19
20 class list_two <D> {
21         public static void bar ()
22         {
23                 gen<int, D[][]>.foo ();
24                 gen<int[][], D>.foo ();
25                 gen<int, D[][,]>.foo ();
26                 gen<D[,,], int>.foo ();
27         }
28 }
29
30 class list_three <F> {
31         public static void bar ()
32         {
33                 gen<int, F[][]>.foo ();
34                 gen<int[][], F>.foo ();
35                 gen<int, F[][,]>.foo ();
36                 gen<F[,,], int>.foo ();
37         }
38 }
39
40 class gen <Q, R> {
41         public static void foo () 
42         {
43         }
44 }
45
46 class Test {
47         public static void Main ()
48         {
49         }
50 }