diff options
Diffstat (limited to 'tests/src/GC/Regressions/v3.0/25252/25252.cs')
-rw-r--r-- | tests/src/GC/Regressions/v3.0/25252/25252.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/src/GC/Regressions/v3.0/25252/25252.cs b/tests/src/GC/Regressions/v3.0/25252/25252.cs new file mode 100644 index 0000000000..9245423437 --- /dev/null +++ b/tests/src/GC/Regressions/v3.0/25252/25252.cs @@ -0,0 +1,20 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; + +class Program +{ + static int Main() + { + var matrix = new double[128 * 128]; + + Console.WriteLine("SIGSEGV upcoming"); + GC.Collect(GC.MaxGeneration); + + GC.KeepAlive(matrix); + return 100; + } +} + |