mariadb/linux/tests/try-uninit.c
Rich Prohaska 90d968d02d #3973 see if intel inspector can find races in the helgrind1 test refs[t:3973]
git-svn-id: file:///svn/toku/tokudb@35064 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00

16 lines
248 B
C

#include <stdio.h>
#include <stdlib.h>
static void foo(int i) {
printf("%d\n", i);
}
int main(int argc, char *argv[]) {
int arg;
int i;
for (i = 1; i < argc; i++) {
arg = atoi(argv[i]);
}
foo(arg);
return 0;
}