mirror of https://github.com/colgm/colgm.git
17 lines
386 B
Rust
17 lines
386 B
Rust
use libc::puts;
|
|
|
|
func print(first: i8*, second: i8*, third: i8*) -> i32 {
|
|
var _0: i32 = puts(first);
|
|
var _1: i32 = puts(second);
|
|
var _2: i32 = puts(third);
|
|
return _0 + _1 + _2;
|
|
}
|
|
|
|
func main() -> i64 {
|
|
print(
|
|
"[func.colgm] should be first",
|
|
"[func.colgm] should be second",
|
|
"[func.colgm] should be third"
|
|
);
|
|
return 0;
|
|
} |