14 lines
207 B
Plaintext
14 lines
207 B
Plaintext
; status: formatter-canonical
|
|
; Scope: promoted top-level test formatter contract.
|
|
|
|
(module tests)
|
|
|
|
(fn add ((a i32) (b i32)) -> i32
|
|
(+ a b))
|
|
|
|
(test "add works"
|
|
(= (add 2 3) 5))
|
|
|
|
(fn main () -> i32
|
|
0)
|