Add @program modifier to tests; regen expectations

This commit is contained in:
Pranav Gaddamadugu 2022-08-04 20:00:40 -07:00
parent 4e9b382c55
commit dfea5bbf15
671 changed files with 1945 additions and 1408 deletions

View File

@ -3,6 +3,7 @@ namespace: Bench
expectation: Pass
*/
@program
function hAgrPJzARlhWKDGNpe () -> i128 {
const NtoD9dCOP8: bool = false;
if 60367u16 < 59376u16 && 291621465261548374864687596926221274642u128 <= 158647603833518715931164380862541000072u128 - 92087114510286551502623665863269979099u128 - 6505284705764791705801152244952567434u128 + 141283471013642106073249086828215491558u128 / 178739495978647499334333189200118397544u128 * 0u128 / 69358574294733597814948265413698301968u128 || 32532971286371518024146524900992744351u128 / 73930302096579937058701857000560614114u128 * 0u128 + 219449183973603283961254860147322285177u128 > 72259425234692696526333349807208361947u128 || 94519913150306783765596349821018468848i128 == -145523637561949662187440225436346186585i128 {
@ -158,6 +159,7 @@ function hAgrPJzARlhWKDGNpe () -> i128 {
return ILtBGr5IWbok66cGZo;
}
@program
function kIebmldut (
constant dS71uQ: i64,
constant Dj87fM: i8,
@ -181,6 +183,7 @@ function kIebmldut (
return dS71uQ;
}
@program
function zfUb (n1uGb8qYUbxVeMc: u8) -> field {
const KGVaawVj_y8MuU: u32 = 3924454878u32;
let Rdg5wrR4uJy2GqrYJL: u64 = 11167188615068932487u64;
@ -228,6 +231,7 @@ function zfUb (n1uGb8qYUbxVeMc: u8) -> field {
return WIRhzmLSHlgn;
}
@program
function ey1Y83xwKF4m (
constant WQQo: i64,
constant JzJ3bWUp5V5umYC8mLb: u16
@ -9118,6 +9122,7 @@ function ey1Y83xwKF4m (
}
}
@program
function WNIRQ5XU (
Sao22ploN2: u16,
UAiLILX: u16,
@ -13276,6 +13281,7 @@ function WNIRQ5XU (
}
}
@program
function yKAI11uAlhAC0MKuVaQH (
constant m3q_thgJckCDtZw5: bool,
constant dtIzYvZXAHLLq10L: u16,
@ -13310,6 +13316,7 @@ function yKAI11uAlhAC0MKuVaQH (
return mO8ojODfy3e;
}
@program
function EFXa_yV (
constant lKpXyYB: i16,
vekEtDz_FKl4w: field,
@ -15001,6 +15008,7 @@ function EFXa_yV (
}
}
@program
function nxMY18LG (
constant rv4FX2AtXtt: i128,
constant MyEqz3: u128,
@ -29496,6 +29504,7 @@ function nxMY18LG (
}
}
@program
function ujkWfQ5r_1Yi (
XcnTSn5: bool,
UIgsv89hNR83neLpzYD: i128,
@ -29530,6 +29539,7 @@ function ujkWfQ5r_1Yi (
return iVzW;
}
@program
function mRhFZzGYWFW3 () -> u16 {
let It967SlNwbUzoY3v4iTL: u8 = 217u8;
It967SlNwbUzoY3v4iTL = It967SlNwbUzoY3v4iTL;
@ -29603,6 +29613,7 @@ function mRhFZzGYWFW3 () -> u16 {
return ooC9znSzVmwewD2KL;
}
@program
function ys4SGkFTY8T8t (
constant VdZ1o3oai2nDE8: field,
constant fCskhvo4Zl155ClaZ: u64,
@ -29623,6 +29634,7 @@ function ys4SGkFTY8T8t (
return fCskhvo4Zl155ClaZ;
}
@program
function h0Eadw (
constant IkNFf7x4G3: u32,
sygZ: u128,
@ -34176,6 +34188,7 @@ function h0Eadw (
return sygZ;
}
@program
function dz88xZBpyG7y9Q9yZS (
constant QDWdZ1P6Uxy: u8,
TxLtm4JHFtIxvMQqdXp: i64,
@ -35481,6 +35494,7 @@ function dz88xZBpyG7y9Q9yZS (
}
}
@program
function WAqDjVpXCNT8mVu () -> u64 {
const g96iIWKOcZyNfysxQae: u16 = 45302u16;
let uayEuyji0EjFEjvUSFY: i128 = hAgrPJzARlhWKDGNpe();
@ -35622,6 +35636,7 @@ function WAqDjVpXCNT8mVu () -> u64 {
return IbtV5ITueWPb6mx9PG;
}
@program
function ed_5yepk9ZH7ESz4EfU (
c7iEW8nfI4pcpTUIkmn: field,
m9g1DEE853bNFWWvV: u32,
@ -44516,6 +44531,7 @@ function ed_5yepk9ZH7ESz4EfU (
}
}
@program
function main (constant QZe9: i128) -> i64 {
if 18788u16 != 61211u16 && 33352u16 >= ujkWfQ5r_1Yi(false, QZe9, 14152i16, QZe9) {
let MYnKyRAZnaEo0Ngls7: u128 = 196095035652207868244240086789795221266u128;

View File

@ -3,6 +3,7 @@ namespace: Bench
expectation: Pass
*/
@program
function main() -> u32 {
const a = 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32;
const b = 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32 + 1u32;

View File

@ -3,199 +3,392 @@ namespace: Bench
expectation: Pass
*/
@program
function main() -> u8 {
return x191(0u32);
}
@program
function x0(val: u8) -> u8 { return val; }
@program
function x1(val: u8) -> u8 { return x0(val); }
@program
function x2(val: u8) -> u8 { return x1(val); }
@program
function x3(val: u8) -> u8 { return x2(val); }
@program
function x4(val: u8) -> u8 { return x3(val); }
@program
function x5(val: u8) -> u8 { return x4(val); }
@program
function x6(val: u8) -> u8 { return x5(val); }
@program
function x7(val: u8) -> u8 { return x6(val); }
@program
function x8(val: u8) -> u8 { return x7(val); }
@program
function x9(val: u8) -> u8 { return x8(val); }
@program
function x10(val: u8) -> u8 { return x9(val); }
@program
function x11(val: u8) -> u8 { return x10(val); }
@program
function x12(val: u8) -> u8 { return x11(val); }
@program
function x13(val: u8) -> u8 { return x12(val); }
@program
function x14(val: u8) -> u8 { return x13(val); }
@program
function x15(val: u8) -> u8 { return x14(val); }
@program
function x16(val: u8) -> u8 { return x15(val); }
@program
function x17(val: u8) -> u8 { return x16(val); }
@program
function x18(val: u8) -> u8 { return x17(val); }
@program
function x19(val: u8) -> u8 { return x18(val); }
@program
function x20(val: u8) -> u8 { return x19(val); }
@program
function x21(val: u8) -> u8 { return x20(val); }
@program
function x22(val: u8) -> u8 { return x21(val); }
@program
function x23(val: u8) -> u8 { return x22(val); }
@program
function x24(val: u8) -> u8 { return x23(val); }
@program
function x25(val: u8) -> u8 { return x24(val); }
@program
function x26(val: u8) -> u8 { return x25(val); }
@program
function x27(val: u8) -> u8 { return x26(val); }
@program
function x28(val: u8) -> u8 { return x27(val); }
@program
function x29(val: u8) -> u8 { return x28(val); }
@program
function x30(val: u8) -> u8 { return x29(val); }
@program
function x31(val: u8) -> u8 { return x30(val); }
@program
function x32(val: u8) -> u8 { return x31(val); }
@program
function x33(val: u8) -> u8 { return x32(val); }
@program
function x34(val: u8) -> u8 { return x33(val); }
@program
function x35(val: u8) -> u8 { return x34(val); }
@program
function x36(val: u8) -> u8 { return x35(val); }
@program
function x37(val: u8) -> u8 { return x36(val); }
@program
function x38(val: u8) -> u8 { return x37(val); }
@program
function x39(val: u8) -> u8 { return x38(val); }
@program
function x40(val: u8) -> u8 { return x39(val); }
@program
function x41(val: u8) -> u8 { return x40(val); }
@program
function x42(val: u8) -> u8 { return x41(val); }
@program
function x43(val: u8) -> u8 { return x42(val); }
@program
function x44(val: u8) -> u8 { return x43(val); }
@program
function x45(val: u8) -> u8 { return x44(val); }
@program
function x46(val: u8) -> u8 { return x45(val); }
@program
function x47(val: u8) -> u8 { return x46(val); }
@program
function x48(val: u8) -> u8 { return x47(val); }
@program
function x49(val: u8) -> u8 { return x48(val); }
@program
function x50(val: u8) -> u8 { return x49(val); }
@program
function x51(val: u8) -> u8 { return x50(val); }
@program
function x52(val: u8) -> u8 { return x51(val); }
@program
function x53(val: u8) -> u8 { return x52(val); }
@program
function x54(val: u8) -> u8 { return x53(val); }
@program
function x55(val: u8) -> u8 { return x54(val); }
@program
function x56(val: u8) -> u8 { return x55(val); }
@program
function x57(val: u8) -> u8 { return x56(val); }
@program
function x58(val: u8) -> u8 { return x57(val); }
@program
function x59(val: u8) -> u8 { return x58(val); }
@program
function x60(val: u8) -> u8 { return x59(val); }
@program
function x61(val: u8) -> u8 { return x60(val); }
@program
function x62(val: u8) -> u8 { return x61(val); }
@program
function x63(val: u8) -> u8 { return x62(val); }
@program
function x64(val: u8) -> u8 { return x63(val); }
@program
function x65(val: u8) -> u8 { return x64(val); }
@program
function x66(val: u8) -> u8 { return x65(val); }
@program
function x67(val: u8) -> u8 { return x66(val); }
@program
function x68(val: u8) -> u8 { return x67(val); }
@program
function x69(val: u8) -> u8 { return x68(val); }
@program
function x70(val: u8) -> u8 { return x69(val); }
@program
function x71(val: u8) -> u8 { return x70(val); }
@program
function x72(val: u8) -> u8 { return x71(val); }
@program
function x73(val: u8) -> u8 { return x72(val); }
@program
function x74(val: u8) -> u8 { return x73(val); }
@program
function x75(val: u8) -> u8 { return x74(val); }
@program
function x76(val: u8) -> u8 { return x75(val); }
@program
function x77(val: u8) -> u8 { return x76(val); }
@program
function x78(val: u8) -> u8 { return x77(val); }
@program
function x79(val: u8) -> u8 { return x78(val); }
@program
function x80(val: u8) -> u8 { return x79(val); }
@program
function x81(val: u8) -> u8 { return x80(val); }
@program
function x82(val: u8) -> u8 { return x81(val); }
@program
function x83(val: u8) -> u8 { return x82(val); }
@program
function x84(val: u8) -> u8 { return x83(val); }
@program
function x85(val: u8) -> u8 { return x84(val); }
@program
function x86(val: u8) -> u8 { return x85(val); }
@program
function x87(val: u8) -> u8 { return x86(val); }
@program
function x88(val: u8) -> u8 { return x87(val); }
@program
function x89(val: u8) -> u8 { return x88(val); }
@program
function x90(val: u8) -> u8 { return x89(val); }
@program
function x91(val: u8) -> u8 { return x90(val); }
@program
function x92(val: u8) -> u8 { return x91(val); }
@program
function x93(val: u8) -> u8 { return x92(val); }
@program
function x94(val: u8) -> u8 { return x93(val); }
@program
function x95(val: u8) -> u8 { return x94(val); }
@program
function x96(val: u8) -> u8 { return x95(val); }
@program
function x97(val: u8) -> u8 { return x96(val); }
@program
function x98(val: u8) -> u8 { return x97(val); }
@program
function x99(val: u8) -> u8 { return x98(val); }
@program
function x100(val: u8) -> u8 { return x99(val); }
@program
function x101(val: u8) -> u8 { return x100(val); }
@program
function x102(val: u8) -> u8 { return x101(val); }
@program
function x103(val: u8) -> u8 { return x102(val); }
@program
function x104(val: u8) -> u8 { return x103(val); }
@program
function x105(val: u8) -> u8 { return x104(val); }
@program
function x106(val: u8) -> u8 { return x105(val); }
@program
function x107(val: u8) -> u8 { return x106(val); }
@program
function x108(val: u8) -> u8 { return x107(val); }
@program
function x109(val: u8) -> u8 { return x108(val); }
@program
function x110(val: u8) -> u8 { return x109(val); }
@program
function x111(val: u8) -> u8 { return x110(val); }
@program
function x112(val: u8) -> u8 { return x111(val); }
@program
function x113(val: u8) -> u8 { return x112(val); }
@program
function x114(val: u8) -> u8 { return x113(val); }
@program
function x115(val: u8) -> u8 { return x114(val); }
@program
function x116(val: u8) -> u8 { return x115(val); }
@program
function x117(val: u8) -> u8 { return x116(val); }
@program
function x118(val: u8) -> u8 { return x117(val); }
@program
function x119(val: u8) -> u8 { return x118(val); }
@program
function x120(val: u8) -> u8 { return x119(val); }
@program
function x121(val: u8) -> u8 { return x120(val); }
@program
function x122(val: u8) -> u8 { return x121(val); }
@program
function x123(val: u8) -> u8 { return x122(val); }
@program
function x124(val: u8) -> u8 { return x123(val); }
@program
function x125(val: u8) -> u8 { return x124(val); }
@program
function x126(val: u8) -> u8 { return x125(val); }
@program
function x127(val: u8) -> u8 { return x126(val); }
@program
function x128(val: u8) -> u8 { return x127(val); }
@program
function x129(val: u8) -> u8 { return x128(val); }
@program
function x130(val: u8) -> u8 { return x129(val); }
@program
function x131(val: u8) -> u8 { return x130(val); }
@program
function x132(val: u8) -> u8 { return x131(val); }
@program
function x133(val: u8) -> u8 { return x132(val); }
@program
function x134(val: u8) -> u8 { return x133(val); }
@program
function x135(val: u8) -> u8 { return x134(val); }
@program
function x136(val: u8) -> u8 { return x135(val); }
@program
function x137(val: u8) -> u8 { return x136(val); }
@program
function x138(val: u8) -> u8 { return x137(val); }
@program
function x139(val: u8) -> u8 { return x138(val); }
@program
function x140(val: u8) -> u8 { return x139(val); }
@program
function x141(val: u8) -> u8 { return x140(val); }
@program
function x142(val: u8) -> u8 { return x141(val); }
@program
function x143(val: u8) -> u8 { return x142(val); }
@program
function x144(val: u8) -> u8 { return x143(val); }
@program
function x145(val: u8) -> u8 { return x144(val); }
@program
function x146(val: u8) -> u8 { return x145(val); }
@program
function x147(val: u8) -> u8 { return x146(val); }
@program
function x148(val: u8) -> u8 { return x147(val); }
@program
function x149(val: u8) -> u8 { return x148(val); }
@program
function x150(val: u8) -> u8 { return x149(val); }
@program
function x151(val: u8) -> u8 { return x150(val); }
@program
function x152(val: u8) -> u8 { return x151(val); }
@program
function x153(val: u8) -> u8 { return x152(val); }
@program
function x154(val: u8) -> u8 { return x153(val); }
@program
function x155(val: u8) -> u8 { return x154(val); }
@program
function x156(val: u8) -> u8 { return x155(val); }
@program
function x157(val: u8) -> u8 { return x156(val); }
@program
function x158(val: u8) -> u8 { return x157(val); }
@program
function x159(val: u8) -> u8 { return x158(val); }
@program
function x160(val: u8) -> u8 { return x159(val); }
@program
function x161(val: u8) -> u8 { return x160(val); }
@program
function x162(val: u8) -> u8 { return x161(val); }
@program
function x163(val: u8) -> u8 { return x162(val); }
@program
function x164(val: u8) -> u8 { return x163(val); }
@program
function x165(val: u8) -> u8 { return x164(val); }
@program
function x166(val: u8) -> u8 { return x165(val); }
@program
function x167(val: u8) -> u8 { return x166(val); }
@program
function x168(val: u8) -> u8 { return x167(val); }
@program
function x169(val: u8) -> u8 { return x168(val); }
@program
function x170(val: u8) -> u8 { return x169(val); }
@program
function x171(val: u8) -> u8 { return x170(val); }
@program
function x172(val: u8) -> u8 { return x171(val); }
@program
function x173(val: u8) -> u8 { return x172(val); }
@program
function x174(val: u8) -> u8 { return x173(val); }
@program
function x175(val: u8) -> u8 { return x174(val); }
@program
function x176(val: u8) -> u8 { return x175(val); }
@program
function x177(val: u8) -> u8 { return x176(val); }
@program
function x178(val: u8) -> u8 { return x177(val); }
@program
function x179(val: u8) -> u8 { return x178(val); }
@program
function x180(val: u8) -> u8 { return x179(val); }
@program
function x181(val: u8) -> u8 { return x180(val); }
@program
function x182(val: u8) -> u8 { return x181(val); }
@program
function x183(val: u8) -> u8 { return x182(val); }
@program
function x184(val: u8) -> u8 { return x183(val); }
@program
function x185(val: u8) -> u8 { return x184(val); }
@program
function x186(val: u8) -> u8 { return x185(val); }
@program
function x187(val: u8) -> u8 { return x186(val); }
@program
function x188(val: u8) -> u8 { return x187(val); }
@program
function x189(val: u8) -> u8 { return x188(val); }
@program
function x190(val: u8) -> u8 { return x189(val); }
@program
function x191(val: u8) -> u8 { return x190(val); }

View File

@ -5,6 +5,7 @@ input_file: inputs/address1.in
*/
@program
function main (x: address) -> bool {
let a: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
let b: bool = x.eq(a);

View File

@ -5,6 +5,7 @@ input_file: inputs/branch.in
*/
@program
function main (x: address, y: bool) -> bool {
let z: address = aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx;
if y {

View File

@ -5,6 +5,7 @@ input_file:
- inputs/address1.in
*/
@program
function main(x: address) -> bool {
const sender: address = aleo10qerras5799u6k7rjtc9y3hcwxuykr45qra7x7dp6jgnc0923czqm0lgta;

View File

@ -6,6 +6,7 @@ input_file:
- inputs/address2.in
*/
@program
function main(x: address) -> bool {
const sender: address = aleo1l7ytv5jqjzpxtjqttl5z9mle8ujcpac9t6tkge5f4haah4pxas8sagzecd;
const receiver: address = aleo1dtpkpg3d653mdlzh6g028937qdgujecn5gw5tzh7ftcvyz7jxvfqw6t8p6;

View File

@ -8,6 +8,7 @@ input_file:
- inputs/true_true.in
*/
@program
function main(a: bool, b: bool) -> bool {
return a && b;
}

View File

@ -8,6 +8,7 @@ input_file:
- inputs/true_true.in
*/
@program
function main(a: bool, b: bool) -> bool {
return a ? b : false;
}

View File

@ -8,6 +8,7 @@ input_file:
- inputs/true_true.in
*/
@program
function main(a: bool, b: bool) -> bool {
return a == b;
}

View File

@ -8,6 +8,7 @@ input_file:
- inputs/true_true.in
*/
@program
function main(a: bool, b: bool) -> bool {
return a != b;
}

View File

@ -8,6 +8,7 @@ input_file:
- inputs/true_true.in
*/
@program
function main(a: bool, b: bool) -> bool {
// unary
let h: bool = a.not();

View File

@ -8,6 +8,7 @@ input_file:
- inputs/true_true.in
*/
@program
function main(a: bool, b: bool) -> bool {
return a || b;
}

View File

@ -14,6 +14,7 @@ circuit Foo {
x: u32
}
@program
function main(x: u32) -> u32 {
let a: Foo = Foo { x: x };
return a.x;

View File

@ -8,6 +8,7 @@ circuit Foo {
x: u32,
}
@program
function main(y: bool) -> bool {
const a: Foo = Foo { x: 1u32 };

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/true.in
*/
@program
function main(a: bool) -> bool {
console.assert(a == true);
return a == true;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/dummy.in
*/
@program
function main(y: bool) -> bool {
console.error("hello error");
return y == true;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/dummy.in
*/
@program
function main(y: bool) -> bool {
console.log("hello world");
return y == true;

View File

@ -7,6 +7,7 @@ input_file:
*/
// Conditionally add two u32 integers and log the result to the console.
@program
function main(a: u32, b: u32) -> bool {
if a == b {
console.log("{}=={}", a, b); // This line should not fail.

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/dummy.in
*/
@program
function main(y: bool) -> bool {
console.log("a = {}", y);
return y == true;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/dummy.in
*/
@program
function main(y: bool) -> bool {
console.log("{}", 1u32);
return y == true;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/dummy.in
*/
@program
function main(y: bool) -> bool {
console.log("{} {}", 1u32, true);
return y == true;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/int64.in
*/
@program
function main(
i8_value: i8,
i16_value: i16,

View File

@ -7,6 +7,7 @@ input_file: inputs/dummy.in
// @test
// function fake_test() {}
@program
function main(y: bool) -> bool {
return y == true;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field, c: field) -> bool {
return a + b == c;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field, c: field) -> bool {
return a / b != c;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field) -> bool {
return a == b;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field) -> bool {
const negOneField: field = -1field;
return negOneField + a == 0field;

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field, c: field) -> bool {
return a * b == c;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field) -> bool {
return -a == -b;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field) -> bool {
// unary
let f: field = a.inv();

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field) -> bool {
const negOneField: field = -1field;
return negOneField ** 2field == 1field;

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field, c: field) -> bool {
return a - b == c;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/fields.in
*/
@program
function main(a: field, b: field, c: field) -> bool {
return b == 1field ? a == 1field : c == 2field;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/integers.in
*/
@program
function main(a: u32) -> u32 {
if a == 2u32 {
return 3u32;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/three.in
*/
@program
function main(a: group, b: group, c: group) -> bool {
console.assert(a + b == c);

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: group, b: group) -> bool {
console.assert(a == b);
return a == b;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: group, b: group) -> bool {
console.assert(a == b);
return a == b;

View File

@ -5,6 +5,7 @@ input_file:
- inputs/scalar_group.in
*/
@program
function main(a: scalar, b: group, c: scalar) -> bool {
let d: group = 1817767092074430972953743941103352519057913259183777531581123188265134806220group * a;
let e: group = a * 1817767092074430972953743941103352519057913259183777531581123188265134806220group;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/dummy.in
*/
@program
function main(a: group, b: group) -> bool {
console.assert(a == b);
return a == b;

View File

@ -5,6 +5,7 @@ input_file:
- inputs/scalar_group.in
*/
@program
function main(a: scalar, b: group) -> group {
return a * b;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/point.in
*/
@program
function main(a: group) -> group {
return 1scalar * a;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: group, b: group) -> bool {
console.assert(-a == b);

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/three.in
*/
@program
function main(a: group, b: group) -> bool {
// unary
let e: group = a.double();

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/point.in
*/
@program
function main(a: group) -> bool {
return a == (0, 1)group;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/three.in
*/
@program
function main(a: group, b: group, c: group) -> bool {
console.assert(a - b == c);

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/point.in
*/
@program
function main(a: group, b: group, c: group) -> bool {
const r: group = true ? a : b;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/scalar_group.in
*/
@program
function main(a: scalar) -> group {
let b: group = (0, 1)group;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/scalar_group.in
*/
@program
function main(a: scalar) -> group {
let b: group = (0, +)group;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/scalar_group.in
*/
@program
function main(a: scalar) -> group {
let b: group = (0, _)group;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/scalar_group.in
*/
@program
function main(a: scalar) -> group {
let b: group = (0, -)group;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/scalar_group.in
*/
@program
function main(a: scalar) -> group {
let element: group = 0group;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/main.in
*/
@program
function main(a: bool) -> bool {
return a == true;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/main_field.in
*/
@program
function main(a: field, b: field, y: bool) -> bool {
return y == true && a == b;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a + b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a & b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: i128, b: i128) -> bool {
let ret: bool = a == b;
console.assert(ret);

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/div.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a / b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: i128, b: i128, c: bool) -> bool {
return (a == b) == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/ge.in
*/
@program
function main(a: i128, b: i128, c: bool) -> bool {
return a >= b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/gt.in
*/
@program
function main(a: i128, b: i128, c: bool) -> bool {
return a > b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/le.in
*/
@program
function main(a: i128, b: i128, c: bool) -> bool {
return a <= b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/lt.in
*/
@program
function main(a: i128, b: i128, c: bool) -> bool{
return a < b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128) -> i128 {
let b: i128 = 170141183460469231731687303715884105727i128;
return b - a;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128) -> i128 {
let b: i128 = -170141183460469231731687303715884105727i128;
return b - a; // -170141183460469231731687303715884105728i128

View File

@ -6,6 +6,7 @@ input_file:
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a * b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/ne.in
*/
@program
function main(a: i128, b: i128, c: bool) -> bool{
return (a != b) == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/neg_rev.in
*/
@program
function main(a: i128, b: i128) -> bool {
return -a == b;
}

View File

@ -5,6 +5,7 @@ input_file:
- ../inputs/dummy.in
*/
@program
function main(y: bool) -> bool {
const a: i128 = 0i128;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128) -> bool {
// unary
let c: i128 = a.abs();

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a | b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/pow.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a ** 2u8 == a ** 2u16 && a ** 2u32 == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/div.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a % b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a << 2u8 == a << 2u16 && a << 2u32 == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a >> 2u8 == a >> 2u16 && a >> 2u32 == c;
}

View File

@ -5,6 +5,7 @@ input_file:
- inputs/sub.in
*/
@program
function main(a: i128, b: i128, c: i128) -> bool {
return a - b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/tern_rev.in
*/
@program
function main(s: bool, a: i128, b: i128, c: i128) -> bool {
let r: i128 = s ? a : b;

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i128, b: i128) -> i128 {
return a ^ b;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i16, b: i16, c: i16) -> bool {
return a + b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i16, b: i16, c: i16) -> bool {
return a & b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: i16, b: i16) -> bool {
let ret: bool = a == b;
console.assert(ret);

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/div.in
*/
@program
function main(a: i16, b: i16, c: i16) -> bool {
return a / b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/eq.in
*/
@program
function main(a: i16, b: i16, c: bool) -> bool {
return (a == b) == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/ge.in
*/
@program
function main(a: i16, b: i16, c: bool) -> bool {
return a >= b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/gt.in
*/
@program
function main(a: i16, b: i16, c: bool) -> bool {
return a > b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/le.in
*/
@program
function main(a: i16, b: i16, c: bool) -> bool {
return a <= b == c;
}

View File

@ -6,6 +6,7 @@ input_file:
- inputs/lt.in
*/
@program
function main(a: i16, b: i16, c: bool) -> bool{
return a < b == c;
}

View File

@ -4,6 +4,7 @@ expectation: Pass
input_file: inputs/add.in
*/
@program
function main(a: i16) -> i16 {
let b: i16 = 32767i16;
return b - a;

Some files were not shown because too many files have changed in this diff Show More