PIPS
test01.c
Go to the documentation of this file.
1
/*
2
3
$Id: test01.c 23065 2016-03-02 09:05:50Z coelho $
4
5
Copyright 1989-2016 MINES ParisTech
6
7
This file is part of PIPS.
8
9
PIPS is free software: you can redistribute it and/or modify it
10
under the terms of the GNU General Public License as published by
11
the Free Software Foundation, either version 3 of the License, or
12
any later version.
13
14
PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15
WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
FITNESS FOR A PARTICULAR PURPOSE.
17
18
See the GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22
23
*/
24
#ifdef HAVE_CONFIG_H
25
#include "pips_config.h"
26
#endif
27
#include<stdio.h>
28
29
int
main
(
int
argc,
char
**argv)
30
{
31
int
i;
32
int
m = 0;
33
int
n = 5;
34
35
/* BEGIN_KAAPI_traou */
36
for
(i = 1; i < n; i++)
37
{
38
m = m + n + i;
39
}
40
/* END_KAAPI_traou */
41
42
printf
(
"Result: %d\n"
, m);
43
return
0;
44
}
printf
int printf()
main
int main(int argc, char **argv)
Definition:
test01.c:29
pips
src
Libs
safescale
tests
test01.c
Generated on Thu Sep 26 2024 22:11:46 for PIPS by
1.9.1