diff options
author | Marek Safar <marek.safar@gmail.com> | 2005-11-03 18:49:54 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2005-11-03 18:49:54 +0300 |
commit | 956db36bbae5bcb7113afe5ea8efae5a87564af3 (patch) | |
tree | 65271b1d1c0ed3dc5510222d1c79c5dc52fa7912 /mcs/tests/test-466.cs | |
parent | 3b36d68da6ef6ba64982397bb0189171e1d5d4d9 (diff) |
new test
svn path=/trunk/mcs/; revision=52513
Diffstat (limited to 'mcs/tests/test-466.cs')
-rw-r--r-- | mcs/tests/test-466.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-466.cs b/mcs/tests/test-466.cs new file mode 100644 index 00000000000..289e7002dab --- /dev/null +++ b/mcs/tests/test-466.cs @@ -0,0 +1,16 @@ +// Compiler options: -unsafe + +public unsafe struct B { + private fixed int a[5]; +} + +public unsafe class C { + private B x; + + public void Goo() { + fixed(B* y=&x) { + } + } + + public static void Main () {} +} |