mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 23:19:42 -06:00
10 lines
109 B
Plaintext
10 lines
109 B
Plaintext
package sample api;
|
|
|
|
fn Square(x: i32) -> i32 {
|
|
return x * x;
|
|
}
|
|
|
|
fn Main() -> i32 {
|
|
return Square(12);
|
|
}
|