CS153/hw6/hw5programs/tc_subtyping_err3.oat
jmug cfe502c598 Add all the assignment code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2025-01-24 18:59:28 -08:00

7 lines
No EOL
88 B
Text

struct A { int x }
struct B { int x ; int y }
void foo(A a, B b) {
b = a;
return;
}