Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
a4449cb012a7977397f20a949c343dd8268cd8cb
/
.
/
examples
/
carbon
/
default.carbon
blob: ca7414b3550ba138ec9247e221dce948e5945b00 [
file
] [
log
] [
blame
] [
raw
]
package
sample api
;
fn
Square
(
x
:
i32
)
->
i32
{
return
x
*
x
;
}
fn
Main
()
->
i32
{
return
Square
(
12
);
}