We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd23320 commit 227fa99Copy full SHA for 227fa99
1 file changed
test/antiquot.c
@@ -1,7 +1,8 @@
1
#include "c2pulse.h"
2
3
void test_rvalue_antiquot(int *x)
4
- _ensures((_slprop) _inline_pulse(pure ($(*x) = $(*x))))
+ _ensures((_slprop) _inline_pulse(pure (Int32.v $(*x) > 0)))
5
{
6
- return;
+ _assert((_slprop) _inline_pulse($&(x) |-> $(x)));
7
+ *x = 6 + 7;
8
}
0 commit comments