summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjashook <jashoo@microsoft.com>2017-05-23 09:50:33 -0700
committerjashook <jashoo@microsoft.com>2017-05-23 09:50:33 -0700
commitd7cca91397a0b6b8b9ac0ac8ebffd6afd7c899dd (patch)
treed123469fa9bb821360a04e81e6544f1dcddcecc2 /tests
parentb2164d274f13023e5546fab849f6f15381ba4475 (diff)
downloadcoreclr-d7cca91397a0b6b8b9ac0ac8ebffd6afd7c899dd.tar.gz
coreclr-d7cca91397a0b6b8b9ac0ac8ebffd6afd7c899dd.tar.bz2
coreclr-d7cca91397a0b6b8b9ac0ac8ebffd6afd7c899dd.zip
Add the case 1 % 1 to our bringup test
Addresses lack of coverage shown in #7168.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/JIT/CodeGenBringUpTests/ModConst.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/JIT/CodeGenBringUpTests/ModConst.cs b/tests/src/JIT/CodeGenBringUpTests/ModConst.cs
index 4552fed1b7..bc9d3e9a82 100644
--- a/tests/src/JIT/CodeGenBringUpTests/ModConst.cs
+++ b/tests/src/JIT/CodeGenBringUpTests/ModConst.cs
@@ -201,6 +201,11 @@ static class ModProgram
return Fail;
}
+ if (ModConst.I4_Mod_1(1) != 0)
+ {
+ return Fail;
+ }
+
if (ModConst.I4_Mod_Minus1(42) != 0)
{
return Fail;