Skip to content

Commit 0b990e0

Browse files
committed
Improve test.
1 parent a26b26c commit 0b990e0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/refine_uninit.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#include "pal.h"
33
#include <stdint.h>
44

5-
_refine_uninit((_slprop) _inline_pulse(pure (is_null $(this))))
5+
_refine_uninit((bool) _inline_pulse(is_null $(this)))
66
typedef int *nullable_ptr;
77

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))))
8+
void take_nullable(_out nullable_ptr p)
119
{
10+
_ghost_stmt(Pulse.Lib.Reference.pts_to_uninit_not_null $(p));
11+
_ghost_stmt(unreachable());
1212
}

0 commit comments

Comments
 (0)