You've already forked linux-packaging-mono
Imported Upstream version 5.12.0.220
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
parent
8bd104cef2
commit
8fc30896db
@@ -1,4 +1,4 @@
|
||||
// Compiler options: -langversion:7.2 -unsafe
|
||||
// Compiler options: -langversion:7.2 /unsafe
|
||||
|
||||
using System;
|
||||
|
||||
@@ -7,10 +7,16 @@ class X
|
||||
public static void Main ()
|
||||
{
|
||||
Span<int> stackSpan = stackalloc int[100];
|
||||
|
||||
bool b = false;
|
||||
|
||||
var r1 = !b ? stackalloc char[1] : throw null;
|
||||
var r2 = b ? throw null : stackalloc char[1];
|
||||
var r3 = b ? stackalloc char[1] : stackalloc char[2];
|
||||
}
|
||||
|
||||
// Disables verifier
|
||||
unsafe void Foo ()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user