reid-llvm/examples/hello_world_harder.reid
2025-07-28 00:41:35 +03:00

24 lines
341 B
Plaintext

import std::print;
import std::from_str;
import std::set_char;
import std::free_string;
import std::String;
fn main() {
let mut test = String::from("hello");
test.push(String::from(" world"));
test.add_char('!');
test.add_char('\n');
test.push_num(175);
print(test);
free_string(&test);
return;
}