module demo.point air 0 lang 0.1 features [effects] type @Point = struct { x: i64, y: i64 } fn @main() -> i64 effects [] entry: %c_1 = const.i64 1 %c_2 = const.i64 2 %s_3 = struct.make @Point(%c_1, %c_2) %x_4 = struct.get @Point.x, %s_3 %y_5 = struct.get @Point.y, %s_3 %t_6 = add.checked.i64 %x_4, %y_5 ret %t_6