-
Virgile Prevosto authored
[Ptests] preserve LOG after STDOPT directive See merge request frama-c/frama-c!2073
Virgile Prevosto authored[Ptests] preserve LOG after STDOPT directive See merge request frama-c/frama-c!2073
noresult.c 295 B
/* run.config
OPT: -rte -warn-signed-overflow -print
*/
int x ;
//@ ensures \result > 0 ; assigns x;
int f(void);
//@ ensures \result > 0 ; assigns \nothing;
int g(void);
//@ requires p > 0 ; ensures \result > 0 ; assigns \nothing;
int h(int p);
void job(void)
{
f();
g();
h(2);
}