diff options
author | Bengu Li <beli@microsoft.com> | 2015-06-09 12:45:27 -0700 |
---|---|---|
committer | Bengu Li <beli@microsoft.com> | 2015-06-09 12:45:27 -0700 |
commit | 002d6d8fdfc3c5f7896a0ad0c0a5c9a41c25c440 (patch) | |
tree | 72e7f8c11fa75aac9ef5156387e3730ced44d11e /tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b405223/b405223.cs | |
parent | 4b21be40517f1348d7f223726decb0f719d09a4b (diff) | |
download | coreclr-002d6d8fdfc3c5f7896a0ad0c0a5c9a41c25c440.tar.gz coreclr-002d6d8fdfc3c5f7896a0ad0c0a5c9a41c25c440.tar.bz2 coreclr-002d6d8fdfc3c5f7896a0ad0c0a5c9a41c25c440.zip |
Add all remaining JIT/Regression test cases for JIT
Add all remaining JIT/Regression test cases for JIT. All under CLR-x86-JIT.
Related proj, config files added. AllTestProjects.sln update delayed for a
batch adding. Passed build, buildtest, runtest.
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b405223/b405223.cs')
-rw-r--r-- | tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b405223/b405223.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b405223/b405223.cs b/tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b405223/b405223.cs new file mode 100644 index 0000000000..f907f46a7a --- /dev/null +++ b/tests/src/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b405223/b405223.cs @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using System; + +class Class1 +{ + + static int Main() + { + Console.WriteLine("Note that this is a test to verify that the implementation stays buggy"); + object o = new short[3]; + if (o is char[]) + { + Console.WriteLine("Whidbey behavior"); + Console.WriteLine("Test FAILED"); + return 101; + } + else + { + Console.WriteLine("Everett behavior"); + Console.WriteLine("Test SUCCESS"); + return 100; + } + } +} |