Merge pull request #2034 from rtfeldman/dev-backend-num-lt

Add x86_64 Int lt support for gen_dev
This commit is contained in:
Brendan Hansknecht 2021-11-21 09:18:23 -08:00 committed by GitHub
commit cbbe04509b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 96 additions and 43 deletions

View file

@ -726,6 +726,20 @@ fn gen_int_neq() {
);
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
fn gen_int_less_than() {
assert_evals_to!(
indoc!(
r#"
4 < 5
"#
),
true,
bool
);
}
#[test]
#[cfg(any(feature = "gen-llvm"))]
fn gen_dec_eq() {