In class/Microsoft.Build.Tasks:
[mcs.git] / tests / gtest-227.cs
bloba02073fa986f69f3807c5491cf3e9fe8a6ebb08d
1 using System;
2 using System.Runtime.CompilerServices;
4 /* GenDebugConstr.cs
5 * Simple test case for gmcs issue (should compile).
6 * Bryan Silverthorn <bsilvert@cs.utexas.edu>
7 */
9 public interface Indexed
11 [IndexerName("Foo")]
12 int this [int ix] {
13 get;
17 public class Foo<G>
18 where G : Indexed
20 public static void Bar()
22 int i = default(G) [0];
26 class X
28 static void Main ()
29 { }