diff --git a/examples/private.code b/examples/private.code deleted file mode 100644 index e0d267dc..00000000 --- a/examples/private.code +++ /dev/null @@ -1,13 +0,0 @@ -// only using sub, no need to flatten -def main(x): - a = 5 - b = 7 - c = if a == b then 4 else 3 fi - c == 3 - d = if a == 5 then 1 else 2 fi - d == 1 - e = if a < b then 5 else 6 fi - e == 5 - f = if b < a then 7 else 8 fi - f == 8 - return x diff --git a/out b/out new file mode 100644 index 00000000..20f907da Binary files /dev/null and b/out differ diff --git a/out.code b/out.code new file mode 100644 index 00000000..2ddb8b1b --- /dev/null +++ b/out.code @@ -0,0 +1,3 @@ +def main(private a,c,private b): + c == (a * b) + return 1