a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
296 B
C#
27 lines
296 B
C#
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;
|
|
}
|
|
} |