Skip to content
Snippets Groups Projects
Commit 11d95eab authored by Patrick Baudin's avatar Patrick Baudin
Browse files

[tests] '//@ for bhv-list: extended-annotation;'

parent b95720ff
No related branches found
No related tags found
No related merge requests found
...@@ -43,9 +43,9 @@ int k(int z) { ...@@ -43,9 +43,9 @@ int k(int z) {
/*@ global_foo \forall integer x; x < x + 1 /*@ global_foo \forall integer x; x < x + 1
; */ ; */
//@ behavior ca_foo: ensures ca_foo: \true;
void loop (void) { void loop (void) {
//@ ca_foo \true; //@ for ca_foo: ca_foo \true;
//@ ns_foo \true; //@ ns_foo \true;
//@ baz \true; //@ baz \true;
/*@ loop invariant \true; */ /*@ loop invariant \true; */
......
...@@ -48,9 +48,11 @@ int k(int z) ...@@ -48,9 +48,11 @@ int k(int z)
/*@ global_foo ∀ ℤ x; x < x + 1; /*@ global_foo ∀ ℤ x; x < x + 1;
*/ */
/*@ behavior ca_foo:
ensures ca_foo: \true; */
void loop(void) void loop(void)
{ {
/*@ ca_foo \true; */ ; /*@ for ca_foo: ca_foo \true; */ ;
/*@ ns_foo \true; */ /*@ ns_foo \true; */
/*@ baz \true; */ /*@ baz \true; */
/*@ loop invariant \true; */ /*@ loop invariant \true; */
......
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