CS153/hw6/hw5programs/tc_subtyping_err5.oat

7 lines
89 B
Text
Raw Normal View History

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