mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 12:46:09 -06:00
6 lines
123 B
Crystal
6 lines
123 B
Crystal
# Type your code here, or load an example.
|
|
|
|
# compile with --prelude=empty
|
|
fun square(num : Int32) : Int32
|
|
num &* num
|
|
end |