1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-05 22:46:08 +03:00
juvix/tests/VampIR/positive/Compilation/test001.juvix
Łukasz Czajka d576111241
VampIR integration (#2103)
* 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>
2023-05-22 20:18:18 +02:00

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;