diff options
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1-M09/b14640/b14640.cs')
-rw-r--r-- | tests/src/JIT/Regression/CLR-x86-JIT/V1-M09/b14640/b14640.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M09/b14640/b14640.cs b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M09/b14640/b14640.cs new file mode 100644 index 0000000000..f9c069dd34 --- /dev/null +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M09/b14640/b14640.cs @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +namespace DefaultNamespace +{ + //@BEGINRENAME; Verify this renames + //@ENDRENAME; Verify this renames + using System; + + internal class repro + { + public static int Main(String[] args) + { + char b = 'B'; + + Char.IsWhiteSpace(b); + + //Console.Write( "Y"+ "Y" ); // This line causes no bug. + Console.Write("Y" + b + "Y"); // This line causes the bug! JIT InLiner problem. + + return 100; + } + } +} |