We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a26b26c commit 0b990e0Copy full SHA for 0b990e0
1 file changed
test/refine_uninit.c
@@ -2,11 +2,11 @@
2
#include "pal.h"
3
#include <stdint.h>
4
5
-_refine_uninit((_slprop) _inline_pulse(pure (is_null $(this))))
+_refine_uninit((bool) _inline_pulse(is_null $(this)))
6
typedef int *nullable_ptr;
7
8
-void take_nullable(_plain nullable_ptr p)
9
- _requires((_slprop) _inline_pulse(pure (is_null $(p))))
10
- _ensures((_slprop) _inline_pulse(pure (is_null $(p))))
+void take_nullable(_out nullable_ptr p)
11
{
+ _ghost_stmt(Pulse.Lib.Reference.pts_to_uninit_not_null $(p));
+ _ghost_stmt(unreachable());
12
}
0 commit comments