2 // This test excercises stackalloc, some pointer arithmetic,
9 char *ptr = stackalloc char [10];
16 for (i = 0; i < 10; i++)
17 ptr [i] = (char) (i + 10);
19 for (i = 0; i < 10; i++){
20 if (*ptr != (char) (i + 10))
26 // Now test index access with longs
36 // Try to compile non-int values
38 byte* bptr = (byte*) 5;
40 byte* ret = (byte*) (bptr + us);
42 Console.WriteLine ("Ok");