2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-276.cs
blob01937e61f4506e7f46dde16f5af444c5077370c0
1 using System;
2 using System.Collections.Generic;
4 class Tests {
6 public static int Main () {
7 int[] x = new int[] {100, 200};
9 GenericClass<int>.Z (x, 0);
11 return 0;
14 class GenericClass <T> {
15 public static T Z (IList<T> x, int index)
17 return x [index];