CS153/hw5/hw5programs/tc_subtyping_err6.oat

7 lines
80 B
Text
Raw Normal View History

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