13 lines
146 B
Text
13 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;
|
|
}
|