CS153/hw6/hw5programs/tc_eq1.oat

14 lines
181 B
Text
Raw Normal View History

struct S {}
struct T {}
int program(int arc, string[] args) {
var z = 0;
var s = new S{};
var t = new T{};
if (s == t) {
z = 17;
} else {
z = 3;
}
return z;
}