source: CIVL/mods/dev.civl.abc/examples/svcomp/function.c

main
Last change on this file was aad342c, checked in by Stephen Siegel <siegel@…>, 3 years ago

Performing huge refactor to incorporate ABC, GMC, and SARL into CIVL repo and use Java modules.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5664 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 362 bytes
Line 
1
2/*int f();
3int g();
4void h(int k);
5*/
6//void fi(int x);
7
8/*
9fnoreturn(int a){
10 return a*a;
11}*/
12
13//int add(int, int);
14
15int main() {
16 //volatile int t;
17 int x;
18
19 (x);
20 x=add(1,2);
21 //fnoreturn(10);
22 /* f();
23 g();
24 //t=add(1,2);
25 h(t);*/
26}
27
28int add(int x, int y){
29 return x+y;
30}
31
32/*
33void h(int x){
34 x++;
35}
36inline void fi(int x){
37 x++;
38 return;
39 }*/
Note: See TracBrowser for help on using the repository browser.