**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0208-2.cs
blobcdb2ea493499ad2d9c086602de701db72dc88cbd
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
5 namespace cs208
7 public class Foo
11 public class Bar
13 unsafe static void Main ()
15 Foo f = new Foo ();
16 Foo *s = &f;