CS153/hw5/hw5programs/compile_global_fptr.oat

10 lines
119 B
Text
Raw Normal View History

int add(int x, int y) {
return x + y;
}
global x = add;
int program(int argc, string[] argv) {
return x(3, 4);
}