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:
authorMarek Safar <marek.safar@gmail.com>2005-02-11 11:17:52 +0300
committerMarek Safar <marek.safar@gmail.com>2005-02-11 11:17:52 +0300
commit54632ebf184c8acec023088b00cba7d09ba32f95 (patch)
tree7b648ba246954cfa8af65a0fff66d4f08e9c73f4 /mcs/errors/cs1665.cs
parentbfc7007e154705c41c1138a4c7b8008e86be8a33 (diff)
2005-02-11 Marek Safar <marek.safar@seznam.cz>
* cs0133-2.cs, cs1641.cs, cs1642.cs, cs1644-3.cs, cs1663.cs cs1665.cs, cs1666.cs, cs3003-5.cs: Fixed buffer error tests. svn path=/trunk/mcs/; revision=40466
Diffstat (limited to 'mcs/errors/cs1665.cs')
-rw-r--r--mcs/errors/cs1665.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/errors/cs1665.cs b/mcs/errors/cs1665.cs
new file mode 100644
index 00000000000..628f01fe500
--- /dev/null
+++ b/mcs/errors/cs1665.cs
@@ -0,0 +1,8 @@
+// cs1665.cs: Fixed sized buffer 'S.test20' must have a length greater than zero
+// Line: 7
+// Compiler options: -unsafe
+
+public unsafe struct S
+{
+ public fixed bool test20 [-4];
+}