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

[WP/test]

parent c4c2d0a8
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ int behavior (int (*p)(void)) { ...@@ -74,7 +74,7 @@ int behavior (int (*p)(void)) {
@ assigns \nothing; @ assigns \nothing;
@ ensures X1==\old(X1); */ @ ensures X1==\old(X1); */
int some_behaviors (int (*p)(void)) { int some_behaviors (int (*p)(void)) {
//@ calls h1, h2, h0; //@ for bhv1,bhv0: calls h1, h2, h0;
return (*p)(); return (*p)();
} }
......
...@@ -5,10 +5,13 @@ ...@@ -5,10 +5,13 @@
[wp] tests/wp_plugin/dynamic.i:30: Calls f1 f2 [wp] tests/wp_plugin/dynamic.i:30: Calls f1 f2
[wp] tests/wp_plugin/dynamic.i:44: Calls g [wp] tests/wp_plugin/dynamic.i:44: Calls g
[wp] tests/wp_plugin/dynamic.i:65: Calls h1 h2 [wp] tests/wp_plugin/dynamic.i:65: Calls h1 h2
[wp] tests/wp_plugin/dynamic.i:78: Calls h1 h2 h0 [wp] tests/wp_plugin/dynamic.i:78: Calls (for bhv1) h1 h2 h0
[wp] tests/wp_plugin/dynamic.i:78: Calls (for bhv0) h1 h2 h0
[wp] tests/wp_plugin/dynamic.i:91: Calls unreachable_g [wp] tests/wp_plugin/dynamic.i:91: Calls unreachable_g
[wp:calls] Dynamic call(s): 5. [wp:calls] Dynamic call(s): 5.
[wp] Loading driver 'share/wp.driver' [wp] Loading driver 'share/wp.driver'
[wp] tests/wp_plugin/dynamic.i:78: Warning:
Missigns 'calls' clause dedicated to dynamic calls (see WP manual)
[wp] Warning: Missing RTE guards [wp] Warning: Missing RTE guards
------------------------------------------------------------ ------------------------------------------------------------
Function behavior with behavior bhv1 Function behavior with behavior bhv1
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
[kernel] Parsing tests/wp_plugin/dynamic.i (no preprocessing) [kernel] Parsing tests/wp_plugin/dynamic.i (no preprocessing)
[wp] Running WP plugin... [wp] Running WP plugin...
[wp] Loading driver 'share/wp.driver' [wp] Loading driver 'share/wp.driver'
[wp] tests/wp_plugin/dynamic.i:78: Warning:
Missigns 'calls' clause dedicated to dynamic calls (see WP manual)
[wp] Warning: Missing RTE guards [wp] Warning: Missing RTE guards
[wp] 46 goals scheduled [wp] 46 goals scheduled
[wp] [Qed] Goal typed_behavior_stmt_for_bhv1_calls_h1_h2 : Valid [wp] [Qed] Goal typed_behavior_stmt_for_bhv1_calls_h1_h2 : Valid
......
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