14 lines
146 B
Text
14 lines
146 B
Text
|
type IntPair = struct {
|
||
|
fst: int,
|
||
|
snd: int,
|
||
|
}
|
||
|
|
||
|
fn main() -> int {
|
||
|
let x = IntPair {
|
||
|
fst: 4,
|
||
|
snd: 6,
|
||
|
};
|
||
|
|
||
|
return x.fst + x.snd;
|
||
|
}
|