blob: 2b3e18fd53c2d631f666d9f8d9a63776072d34b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// cs1575.cs: A stackalloc expression requires [] after type
// Line: 9
// Compiler options: -unsafe
class E
{
public unsafe void Method (int i)
{
long* p = stackalloc long;
}
}
|