feat: JIT (unusable, segfault)
This commit is contained in:
@@ -92,5 +92,11 @@ macro_rules! attrs {
|
||||
|
||||
#[test]
|
||||
fn test_jit_const() {
|
||||
test_expr("let f = _: 1; in (f 1) + (f 1)", int!(2));
|
||||
// test_expr("let f = _: 1; in (f 1) + (f 1)", int!(2));
|
||||
test_expr("let f = _: 1; in (f 1) == (f 1)", boolean!(true));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_arith() {
|
||||
test_expr("let f = _: -(-1); in (f 1) + (f 1)", int!(2));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user