diff options
author | Marek Safar <marek.safar@gmail.com> | 2008-08-20 18:48:16 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2008-08-20 18:48:16 +0400 |
commit | eab55f204f55b98364ac3fa927e2cf6d63188baf (patch) | |
tree | 7ac4f8bde795cc635146319bd8dfb83571fb1112 /mcs/tests/test-672.cs | |
parent | 7442a9992c86a171f3786ae00d729245a8b45fde (diff) |
New test.
svn path=/trunk/mcs/; revision=111133
Diffstat (limited to 'mcs/tests/test-672.cs')
-rw-r--r-- | mcs/tests/test-672.cs | 21 |
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 () + { + } +} + |