18 lines
229 B
C#
18 lines
229 B
C#
|
// Compiler options: -unsafe
|
||
|
|
||
|
struct Obsolete {
|
||
|
int a;
|
||
|
}
|
||
|
struct A {
|
||
|
int a, b;
|
||
|
}
|
||
|
|
||
|
class MainClass {
|
||
|
unsafe public static void Main ()
|
||
|
{
|
||
|
System.Console.WriteLine (sizeof (Obsolete));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|