CS153/hw6/hw5programs/tc_arrow_null.oat

14 lines
111 B
Text
Raw Normal View History

struct Point {
int x;
int y
}
Point? f() {
return Point null;
}
int g(() -> Point? x) {
return 0;
}