Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-503.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 56dca2049a84b07b865000eaf5ccf7f115f6022f (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
using System;

public class TestAttribute : Attribute
{
	public TestAttribute (Type type)
	{
	}
}

class C<T>
{
	[Test (typeof (N<>))]
	public class N<U>
	{
	}
}

class A
{
	public static int Main ()
	{
		if (typeof (C<>.N<>).GetCustomAttributes (true).Length != 1)
			return 1;

		return 0;
	}
}