CS153/hw6/hw5programs/tc_func_arg_err.oat

24 lines
156 B
Text
Raw Normal View History

struct A {
int x
}
struct B {
int x;
int y
}
int f(A x) {
return 3;
}
int g(B x) {
return 3;
}
int l() {
var x = f;
x = g;
return 3;
}