[kernel] Parsing behavior_names.c (with preprocessing) [kernel:annot-error] behavior_names.c:7: Warning: reference to unknown behavior UNEXISTENT_BEHAVIOR. Ignoring logic specification of function f [kernel:annot-error] behavior_names.c:19: Warning: reference to unknown behavior UNEXISTENT_BEHAVIOR. Ignoring logic specification of function g [kernel:annot-error] behavior_names.c:27: Warning: reference to unknown behavior foo. Ignoring code annotation [kernel:annot-error] behavior_names.c:34: Warning: behavior foo already defined. Ignoring logic specification of function h [kernel:annot-error] behavior_names.c:38: Warning: behavior foo already defined. Ignoring code annotation [kernel:annot-error] behavior_names.c:47: Warning: behavior foo already defined. Ignoring code annotation /* Generated by Frama-C */ void f(void) { return; } /*@ predicate should_be_rejected= \true; */ /*@ predicate should_be_kept= \true; */ void g(void) { /*@ behavior foo: ensures \true; */ { /*@ for foo: assert should_be_kept; */ ; f(); /*@ for foo: assert should_be_kept; */ ; f(); } return; } void h(void) { return; } /*@ behavior foo: ensures \true; */ void i(void) { return; } void j(void) { int x = 0; /*@ behavior foo: ensures \true; */ { x ++; if (x) /*@ behavior bar: ensures \true; */ x ++; else /*@ behavior bar: ensures should_be_kept; */ x ++; } return; } /*@ behavior boolean: ensures boolean: \true; behavior char: ensures char: \true; behavior for: ensures for: \true; behavior while: ensures while: \true; behavior ensures: ensures ensures: \true; behavior logic: ensures logic: \true; */ void keyword_as_behavior_and_term_names(void) { return; }