2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / errors / cs0208-2.cs
1 // cs0208.cs: Cannot take the address or size of a variable of a managed type ('cs208.Foo')
2 // Line: 20
3 // Compiler options: -unsafe
4
5 namespace cs208
6 {
7         public class Foo
8         {
9         }
10
11         public class Bar
12         {
13                 unsafe static void Main ()
14                 {                       
15                         Foo f = new Foo ();
16                         Foo *s = &f;
17                 }
18         }
19 }