test246
auto test246 =
q{--- test246
struct MonoTime {
i64 ticks;
Duration sub(MonoTime other) {
return Duration(ticks - other.ticks);
}
}
struct Duration {
i64 ticks;
}
i64 run(i64 a, i64 b) {
MonoTime ma = MonoTime(a);
MonoTime mb = MonoTime(b);
return ma.sub(mb).ticks;
}
};
tests passing
functionsvariables