Closed
Description
[MethodImpl(MethodImplOptions.NoInlining)]
static unsafe void PrintFPtr()
{
delegate*<void> ptr = &Foo;
Console.WriteLine(*(long*)ptr);
}
[MethodImpl(MethodImplOptions.NoInlining)]
static void Foo()
{
}
Missing flags on tree [000001]: #------------
[000001] n---G+----- * IND long
[000000] H----+----- \--* CNS_INT(h) long 0x7ffb48ff03c0 ftn
Assert failure(PID 2888 [0x00000b48], Thread: 50468 [0xc524]): Assertion failed '!"Missing flags on tree"' in 'Tests:PrintFPtr()' during 'Morph - Global' (IL size 13; hash 0x403dcc3a; Tier0)
File: C:\prj\runtime-base\src\coreclr\jit\fgdiagnostic.cpp Line: 3319
Image: C:\prj\runtime-base\artifacts\bin\coreclr\windows.x64.Checked\CoreRun.exe