Skip to content
Snippets Groups Projects
Commit b94715f4 authored by Allan Blanchard's avatar Allan Blanchard Committed by Patrick Baudin
Browse files

[libc] assert terminates

parent e8b0b40f
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,6 @@ __BEGIN_DECLS
/*@
requires nonnull_c: c != 0;
terminates c != 0;
assigns \nothing;
*/
extern void __FC_assert(int c, const char* file, int line, const char*expr);
......@@ -42,7 +41,7 @@ __POP_FC_STDLIB
#endif
#undef assert
#ifdef NDEBUG
#ifdef NDEBUG
#define assert(ignore) ((void)0)
#else
#ifndef __FRAMAC__
......
......@@ -2505,7 +2505,6 @@ void __FC_assert(int c, char const *file, int line, char const *expr);
extern void Frama_C_show_each_warning();
/*@ requires nonnull_c: c ≢ 0;
terminates c ≢ 0;
assigns \nothing; */
void __FC_assert(int c, char const *file, int line, char const *expr)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment