[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-405.cs
blobee321936d36b1c2fe281f4badaeb48f0ff0ebd95
1 // Compiler options: -unsafe
3 using System;
5 namespace testapp{
6 public unsafe class LibTestAPI{
8 struct LibTestStruct{
9 void* pData;
10 void* pTest1;
13 LibTestStruct* the_struct;
15 public void Create(){
16 IntPtr MyPtr = new IntPtr(0); // Usually created elsewhere
17 the_struct = (LibTestStruct *) 0; // error CS1002
21 class TestApp{
22 public static void Main(string[] args){
23 LibTestAPI myapi = new LibTestAPI();
24 myapi.Create();