diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-04-13 14:55:18 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-04-13 14:55:18 +0400 |
commit | d60f53388131890b3d9ae59d1cb9edb1df87c6eb (patch) | |
tree | 5b82ea547f4a838ce8d268cb50f2c837cbf33beb /mcs/errors/cs0208-7.cs | |
parent | d2241d5f92d27deb56bbe17beb76a63965598de3 (diff) |
New test.
svn path=/trunk/mcs/; revision=42900
Diffstat (limited to 'mcs/errors/cs0208-7.cs')
-rw-r--r-- | mcs/errors/cs0208-7.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0208-7.cs b/mcs/errors/cs0208-7.cs new file mode 100644 index 00000000000..add42d005af --- /dev/null +++ b/mcs/errors/cs0208-7.cs @@ -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; + } +} |