summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-451-lib.cs
blob: 6eba31f02b049f675509955c74d1eb7c0c73f658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Compiler options: -t:library

using System;

public class A<T> where T : new ()
{
	public T Value = new T ();
	
	public class N1 : A<N2>
	{
	}
	
	public class N2
	{
		public int Foo ()
		{
			return 0;
		}
	}
}