CS153/hw6/hw5programs/tc_subtyping_err2.oat

7 lines
73 B
Text
Raw Normal View History

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