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>2007-12-23 15:10:17 +0300
committerMarek Safar <marek.safar@gmail.com>2007-12-23 15:10:17 +0300
commit5bca01a09e34e97a0ac9f14fb5057d5e16b4c23f (patch)
tree1c70ff995fe289acd8a96f30e37d8dfff41973d5 /mcs/tests/gtest-354.cs
parentab5291559d8b315508f0b8bfcd483b3f4a0d2137 (diff)
2007-12-23 Marek Safar <marek.safar@gmail.com>
A test for bug #347189 svn path=/trunk/mcs/; revision=91827
Diffstat (limited to 'mcs/tests/gtest-354.cs')
-rw-r--r--mcs/tests/gtest-354.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/gtest-354.cs b/mcs/tests/gtest-354.cs
new file mode 100644
index 00000000000..0035334149a
--- /dev/null
+++ b/mcs/tests/gtest-354.cs
@@ -0,0 +1,18 @@
+// Compiler options: -unsafe
+
+public unsafe struct A
+{
+ fixed byte fileid[DbConst.DB_FILE_ID_LEN];
+}
+
+public static class DbConst
+{
+ public const int DB_FILE_ID_LEN = 20;
+}
+
+class M
+{
+ public static void Main ()
+ {
+ }
+}