jorts/examples/extending-structs.jt
2019-03-08 18:45:33 -03:00

15 lines
118 B
Text

struct A {
int a,
int b
}
struct B <- A {
int c
}
fn main () {
a := A{1, 2}
b := B{1, 2, 3}
}