2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-263.cs
blobd0a3b7473a8985eb64e2306e57a4843a6b8c7403
1 // Compiler options: -unsafe
3 using System;
5 class Test {
6 public String GetString (byte[] bytes)
8 unsafe {
9 int* i;
12 unsafe {
13 fixed (byte *ss = &bytes [0]) {
14 int* i;
15 return new String ((sbyte*)ss, 0, bytes.Length);
20 public static void Main () {}