diff options
Diffstat (limited to 'third_party/backtrace-mingw/test.c')
-rw-r--r-- | third_party/backtrace-mingw/test.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/backtrace-mingw/test.c b/third_party/backtrace-mingw/test.c new file mode 100644 index 0000000..731129f --- /dev/null +++ b/third_party/backtrace-mingw/test.c @@ -0,0 +1,23 @@ +#include <windows.h> + +static void +foo() +{ + int *f=NULL; + *f = 0; +} + +static void +bar() +{ + foo(); +} + +int +main() +{ + LoadLibraryA("backtrace.dll"); + bar(); + + return 0; +} |