94b2861243
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
16 lines
326 B
C#
16 lines
326 B
C#
// Compiler options: /noconfig /nostdlib -r:../class/lib/net_4_x/Facades/System.Runtime.dll -r:../class/lib/net_4_x/mscorlib.dll
|
|
|
|
using System;
|
|
|
|
class TypeForwarderOfSystemObject
|
|
{
|
|
void TestAttributeReadDoesNotCrash ()
|
|
{
|
|
System.Runtime.InteropServices.Marshal.ReadByte (IntPtr.Zero, 0);
|
|
}
|
|
|
|
static void Main ()
|
|
{
|
|
}
|
|
}
|