Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-937.cs
1 // Compiler options: /noconfig /nostdlib -r:../class/lib/net_4_x/Facades/System.Runtime.dll -r:../class/lib/net_4_x/mscorlib.dll
2
3 using System;
4
5 class TypeForwarderOfSystemObject
6 {
7         void TestAttributeReadDoesNotCrash ()
8         {
9                 System.Runtime.InteropServices.Marshal.ReadByte (IntPtr.Zero, 0);               
10         }
11
12         static void Main ()
13         {
14         }
15 }