Files @ a6f53f74e58c
Branch filter:

Location: CSY/reowolf/testdata/parser/positive/11.pdl

Christopher Esterhuyse
fixed bug: failed to restore !sync_batches.is_empty() invariant when the native is immediately inconsistent
#version 100

primitive main(in a, out b) {
	msg x = null;
	while (x == null) {
		synchronous {
			if (fires(a))
				x = get(a);
		}
	}
	while (true) {
		synchronous {
			if (fires(b))
				put(b, x);
		}
	}
}