AStat/examples/constant/constant_add.c
2024-05-29 11:47:47 +02:00

13 lines
253 B
C

/*
* Cours "Sémantique et Application à la Vérification de programmes"
*
* Josselin Giet 2021
* Ecole normale supérieure, Paris, France / CNRS / INRIA
*/
int y = 12;
void main(){
int i = 10;
int j = -2;
int x = i + j;
assert(x == 8);
}