"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-919.cs
blobf5338e7beec11a53c6b058584f0bd3f6e7dd52f8
1 // Compiler options: -unsafe
3 class Test
5 public static void Main (string[] args)
7 string s = "hello, world!";
8 Outer (s);
11 static void Outer (string s)
13 unsafe {
14 fixed (char* sp = s) {
15 char* p = sp;
16 Inner (ref p, sp);
21 static unsafe void Inner (ref char* p, char* sp)
23 ++sp;
24 p = sp;