a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
258 B
C#
19 lines
258 B
C#
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `S<int>.N'
|
|
// Line: 16
|
|
// Compiler options: -unsafe
|
|
|
|
struct S<T>
|
|
{
|
|
public struct N
|
|
{
|
|
}
|
|
}
|
|
|
|
unsafe class Test
|
|
{
|
|
public static void Main()
|
|
{
|
|
S<int>.N* a;
|
|
}
|
|
}
|