svn path=/trunk/mcs/; revision=9861
@@ -1,3 +1,7 @@
+2002-12-24 Alejandro Sánchez Acosta <[email protected]>
+
+ * cs0208.cs: Added new test.
2002-12-24 Alejandro Sánchez Acosta <[email protected]>
* cs0202.cs: Added new test.
@@ -0,0 +1,22 @@
+// cs0208.cs: Cannot take the address or size of a variable of a managed type ('cs208.Foo')
+// Line: 19
+namespace cs208
+{
+ public class Foo
+ {
+ public int Add (int a, int b)
+ return a + b;
+ }
+ public class Bar
+ unsafe static void Main ()
+ Foo f = new Foo ();
+ Foo *s = &f;
+}