1 // Compiler options: -unsafe
6 public unsafe class LibTestAPI
{
13 LibTestStruct
* the_struct
;
16 IntPtr MyPtr
= new IntPtr(0); // Usually created elsewhere
17 the_struct
= (LibTestStruct
*) 0; // error CS1002
22 static void Main(string[] args
){
23 LibTestAPI myapi
= new LibTestAPI();