reid-llvm/examples/macro_easy.reid

9 lines
179 B
Plaintext

import std::String;
import std::print;
fn main() -> u8 {
let bytes = test_macro!("./macro_easy_file.txt");
print(String::new() + bytes.length());
return *bytes[0];
}