Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-629.cs
1 // Compiler options: -unsafe
2
3 using System;
4 using System.Collections.Generic;
5
6 public class Program
7 {
8          public unsafe static void Main ()
9          {
10                 var list = new List<object> () { "" };
11                 fixed (char *c = (string)list[0]) {
12                         
13                 }
14
15                 var list2 = new List<object> () { null };
16                 fixed (byte* p = (byte[])list2[0]) {
17                 }
18         
19          }
20 }