mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
13 lines
175 B
Rust
13 lines
175 B
Rust
pub fn foo(x: i64) -> (i64, i64) {
|
|
return (x, x);
|
|
}
|
|
|
|
pub fn test_main() -> i64 {
|
|
let record = foo(0x9);
|
|
|
|
record.0 * record.1
|
|
}
|
|
|
|
pub fn main() {
|
|
test_main();
|
|
}
|