mirror of
https://github.com/anoma/juvix.git
synced 2025-01-05 22:46:08 +03:00
d576111241
* Closes #2035 * Depends on #2086 * Depends on #2096 * Adds end-to-end tests for the Juvix-to-VampIR compilation pipeline. --------- Co-authored-by: Jonathan Cubides <jonathan.cubides@uib.no>
9 lines
141 B
Plaintext
9 lines
141 B
Plaintext
-- not function
|
|
module test001;
|
|
|
|
open import Stdlib.Prelude;
|
|
open import Stdlib.Data.Nat.Ord;
|
|
|
|
main : Nat -> Nat;
|
|
main x := if (x == 0) 1 0;
|