Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2004-12-06 22:19:35 +0300
committerMartin Baulig <martin@novell.com>2004-12-06 22:19:35 +0300
commitad7f7c857c76027714dc49074044c764ac087622 (patch)
tree9e0a63587641e4dd8ab40d8ca2a65eb192d74d9e /mcs/errors/gcs0208.cs
parentecc1f31db1887b58d4bf4a111ddcf71c3c729b34 (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.cs12
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>);
+ }
+}