summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-278-4-lib.cs
blob: cf9cd3b87e19fcfdd8e25be2022321189b9f1059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Compiler options: -t:library

using System;

public class C
{
	public class CC
	{
		public static string Print ()
		{
			return typeof (CC).FullName;
		}
	}

	public static string Print ()
	{
		return typeof (C).FullName;
	}
}

public class D
{
	public static string Print ()
	{
		return typeof (D).FullName;
	}
}

public struct G<T>
{
	public static T Test (T t)
	{
		return t;
	}
}