reid-llvm/reid_src/struct.reid

16 lines
207 B
Plaintext

// Arithmetic, function calls and imports!
struct Test {
field: i32,
second: u32
}
fn main() -> u32 {
let value = Test {
field: 5,
second: 3,
};
return value.second;
}