valgrind/tests/bz672959-RFE-Integrate-valgrind-with-gdb-possibly-through/something.c

22 lines
206 B
C
Raw Normal View History

#include <stdio.h>
void f (int x);
int
main (int argc, char *argv[])
{
int a;
f(a);
return 0;
}
void
f (int x)
{
static int var __attribute__ ((used)) = 42;
if(x)
puts("hello, world");
}