CS153/hw6/hw5programs/compile_struct_reordered.oat

9 lines
113 B
Text
Raw Normal View History

struct Pair {
int x;
int y
}
int program(int argc, string[] argv) {
return (new Pair {y = 3; x = 4}).y;
}