CS153/hw6/hw5programs/tc_subtyping_err7.oat

7 lines
72 B
Text
Raw Normal View History

struct A { int x }
struct B { int x ; int y }
B f(A a) {
return a;
}