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-01-06 15:29:45 +0300
committerMarek Safar <marek.safar@gmail.com>2005-01-06 15:29:45 +0300
commited84492e345acedc6a31884b9ed84c42c213e4fd (patch)
treea01d2fc378f34a5ec52eeeb1dc67a55023c69de4 /mcs/tests/test-331.cs
parent2ade77bf529ca96f302bb2cebec4b06a0f440246 (diff)
2005-01-06 Marek Safar <marek.safar@seznam.cz>
* test-331.cs: New test for #70817. * cls-test-12.cs: Flush. svn path=/trunk/mcs/; revision=38424
Diffstat (limited to 'mcs/tests/test-331.cs')
-rw-r--r--mcs/tests/test-331.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/tests/test-331.cs b/mcs/tests/test-331.cs
new file mode 100644
index 00000000000..444da7d60e2
--- /dev/null
+++ b/mcs/tests/test-331.cs
@@ -0,0 +1,12 @@
+// Compiler options: -unsafe
+
+class T
+{
+ unsafe private byte *ptr;
+ unsafe internal byte * Ptr {
+ get { return ptr; }
+ set { ptr = value; }
+ }
+
+ public static void Main () {}
+}