blob: 7e51085a71aa25ec7bd9a6d96873c340d03ae3dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// expect: 4/
// spec 7.6
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
include run;
int ticks;
int tick() { ticks++; return 0; }
run.statement_hook(tick);
fn main() { int a = 1; a = a + 1; a = a + 1; pn(ticks); return 0; }
// zc0: skip
|