New test.
authorRaja R Harinath <harinath@hurrynot.org>
Wed, 13 Apr 2005 10:55:18 +0000 (10:55 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Wed, 13 Apr 2005 10:55:18 +0000 (10:55 -0000)
svn path=/trunk/mcs/; revision=42900

mcs/errors/cs0208-7.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0208-7.cs b/mcs/errors/cs0208-7.cs
new file mode 100644 (file)
index 0000000..add42d0
--- /dev/null
@@ -0,0 +1,14 @@
+// cs0208: cannot declare a pointer to a managed type ('foo')
+// Line: 11
+// Compiler options: -unsafe
+
+struct foo {
+       public delegate void bar (int x);
+       public bar barf;
+}
+
+unsafe class t {
+       static void Main () {
+               foo *f = null;
+       }
+}