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>2008-12-29 14:28:50 +0300
committerMarek Safar <marek.safar@gmail.com>2008-12-29 14:28:50 +0300
commit01c0e2287a95f72626cf6251e55c073f07a260a0 (patch)
tree13af7a1b3cb7c6990934280cd5ea3e83c051783b /mcs/tests/test-698.cs
parent81215536bf19f4b19e3b694b59025414677c609b (diff)
New tests.
svn path=/trunk/mcs/; revision=122181
Diffstat (limited to 'mcs/tests/test-698.cs')
-rw-r--r--mcs/tests/test-698.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-698.cs b/mcs/tests/test-698.cs
new file mode 100644
index 00000000000..e58d3db3041
--- /dev/null
+++ b/mcs/tests/test-698.cs
@@ -0,0 +1,16 @@
+// Compiler options: -unsafe
+
+struct Foo
+{
+ public int i;
+}
+
+public unsafe class test
+{
+ static Foo* pFoo;
+
+ public static void Main ()
+ {
+ int* pi = &pFoo->i;
+ }
+}