diff options
author | Marek Safar <marek.safar@gmail.com> | 2014-06-11 14:02:33 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2014-06-11 14:02:33 +0400 |
commit | 39a52aff4ce2089639b1688fef2b76b260c43d6a (patch) | |
tree | b33c5cdca177e3bb1c8052ae504e9e05418d195f /mcs/tests/gtest-615.cs | |
parent | 83a5fe8f1a07258571ea9ac4e4f9fed6f0e93336 (diff) |
[mcs] Inflate nested pointer containers too.
Diffstat (limited to 'mcs/tests/gtest-615.cs')
-rw-r--r-- | mcs/tests/gtest-615.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/gtest-615.cs b/mcs/tests/gtest-615.cs new file mode 100644 index 00000000000..f20ee5733e3 --- /dev/null +++ b/mcs/tests/gtest-615.cs @@ -0,0 +1,21 @@ +// Compiler options: -unsafe + +unsafe class X +{ + struct S + { + } + + public class N<T> + { + S* s; + } +} + +public class C +{ + public static void Main () + { + new X.N<int> (); + } +}
\ No newline at end of file |