20 lines
498 B
Text
20 lines
498 B
Text
/-
|
|
FIXME: Test does not work with the LLVM backend yet, temporarily commenting out
|
|
so that we don't break the nightlies.
|
|
|
|
initialize test : UInt64 ← pure 0
|
|
initialize testb : Bool ← pure false
|
|
initialize testu : USize ← pure 1
|
|
initialize testf : Float ← pure 0.5
|
|
initialize test32 : UInt32 ← pure 16
|
|
|
|
def main : IO Unit := do
|
|
IO.println test
|
|
IO.println testb
|
|
IO.println testu
|
|
IO.println testf
|
|
IO.println test32
|
|
-/
|
|
|
|
def main : IO Unit :=
|
|
IO.print "0\nfalse\n1\n0.500000\n16\n"
|