summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/libmudflap.c/pass34-frag.c
blob: 2dfd0ca2113c0c0cbba05034f54bacf954665c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void test (int *k)
{
  if (*k > 5) { *k --; }
}

int z;

int main ()
{
/* z is initialized, but not via a pointer, so not instrumented */
z = rand (); 
test (& z);
return 0;
}