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-07-13 23:26:34 +0400
committerMarek Safar <marek.safar@gmail.com>2007-07-13 23:26:34 +0400
commitfaaff3ebedaf11942a80e5eb96a5af53a8fa551f (patch)
treec52fa5b36bf4f4ad8d2bf7cf0a9cc602478dbc94 /mcs/tests/test-574.cs
parentcb1bf24904090371da21eceeaf437d52495992ae (diff)
New test.
svn path=/trunk/mcs/; revision=81965
Diffstat (limited to 'mcs/tests/test-574.cs')
-rw-r--r--mcs/tests/test-574.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/mcs/tests/test-574.cs b/mcs/tests/test-574.cs
index 801c196bce0..e0243174b99 100644
--- a/mcs/tests/test-574.cs
+++ b/mcs/tests/test-574.cs
@@ -1,15 +1,15 @@
-using System;
-using System.IO;
+// Compiler options: -unsafe
-namespace XmlnsAttributeSample
+public class aClass
{
- public class XmlnsAttribTester
- {
- static public void Main (string [] args)
- {
- using (StringWriter stringWriter = new StringWriter ())
- {
- }
- }
- }
-} \ No newline at end of file
+ public unsafe struct foo_t
+ {
+ public fixed char b[16];
+ }
+
+ public static unsafe void Main(string[] args)
+ {
+ foo_t bar;
+ char* oo = bar.b;
+ }
+}