mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-23 21:59:54 +08:00
19 lines
236 B
C
19 lines
236 B
C
#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;
|
|
}
|