diff options
author | Martin Baulig <martin@novell.com> | 2004-12-06 22:19:35 +0300 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2004-12-06 22:19:35 +0300 |
commit | ad7f7c857c76027714dc49074044c764ac087622 (patch) | |
tree | 9e0a63587641e4dd8ab40d8ca2a65eb192d74d9e /mcs/errors/gcs0208.cs | |
parent | ecc1f31db1887b58d4bf4a111ddcf71c3c729b34 (diff) |
2004-12-06 Martin Baulig <martin@ximian.com>
* cs8210.cs: Renamed to gcs0208.cs.
svn path=/trunk/mcs/; revision=37217
Diffstat (limited to 'mcs/errors/gcs0208.cs')
-rw-r--r-- | mcs/errors/gcs0208.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/gcs0208.cs b/mcs/errors/gcs0208.cs new file mode 100644 index 00000000000..f4539aaa69e --- /dev/null +++ b/mcs/errors/gcs0208.cs @@ -0,0 +1,12 @@ +// Compiler options: -unsafe +// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('X<A>') +class X <Y> { +} + +unsafe class A { + + static void Main () + { + int size = sizeof (X<A>); + } +} |