1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 18:13:56 +03:00
juvix/tests/positive/MiniC/AxiomNoCompile/Input.juvix
Paul Cadman c6307173dc
Permit axiom without a compile block (#1418)
An axiom without a compile block generates a C function signature
without a corresponding body. This allows implementations to be injected
at link time (JS, Anoma).
2022-07-27 10:36:53 +02:00

15 lines
154 B
Plaintext

module Input;
open import Stdlib.Prelude;
inductive Unit {
unit : Unit;
};
axiom ignore : Unit -> Unit;
main : IO;
main ≔ putStrLn "Hello";
end;