CCTLib
Calling-context and data-object attribution library for Intel Pin
test3.c
Go to the documentation of this file.
1 /* This test is for mixed redundancy */
2 
3 #include <stdio.h>
4 
5 #define MAX 5010
6 
7 int mix(int a, int b){
8 
9  int c, d, e, f;
10  int i;
11 
12  for(i=0;i<MAX;++i){
13  c = a * b + d;
14  e = a * b;
15  f = e + d;
16  }
17  return f;
18 }
19 
20 
21 void main(){
22 
23  mix(1,2);
24 
25 }
void f()
Definition: test3.c:20
int main()
Definition: test3.c:25
int a[1000]
Definition: testArray.c:5
int mix(int a, int b)
Definition: test3.c:7
#define MAX
Definition: test3.c:5