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-08-20 18:48:16 +0400
committerMarek Safar <marek.safar@gmail.com>2008-08-20 18:48:16 +0400
commiteab55f204f55b98364ac3fa927e2cf6d63188baf (patch)
tree7ac4f8bde795cc635146319bd8dfb83571fb1112 /mcs/tests/test-672.cs
parent7442a9992c86a171f3786ae00d729245a8b45fde (diff)
New test.
svn path=/trunk/mcs/; revision=111133
Diffstat (limited to 'mcs/tests/test-672.cs')
-rw-r--r--mcs/tests/test-672.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/test-672.cs b/mcs/tests/test-672.cs
new file mode 100644
index 00000000000..9d8d5fb6c87
--- /dev/null
+++ b/mcs/tests/test-672.cs
@@ -0,0 +1,21 @@
+// Compiler options: -unsafe
+
+struct S
+{
+}
+
+class X
+{
+ unsafe int* Foo {
+ get { return null; }
+ }
+
+ unsafe S* Foo2 {
+ get { return null; }
+ }
+
+ static void Main ()
+ {
+ }
+}
+