You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
335 B
15 lines
335 B
#include "valgrind.h" |
|
#include <stdio.h> |
|
|
|
int |
|
main (int argc, char **argv) |
|
{ |
|
int x = 0; |
|
x += VALGRIND_PRINTF("Yo "); |
|
x += VALGRIND_PRINTF("Yo "); |
|
x += VALGRIND_PRINTF("Ma\n"); |
|
fprintf(stderr, "%d\n", x); |
|
x = VALGRIND_PRINTF_BACKTRACE("Backtrace line one\nLine two:\n"); |
|
fprintf(stderr, "%d\n", x); |
|
return 0; |
|
}
|
|
|