/* btest.c -- Test for libbacktrace library
- Copyright (C) 2012-2013 Free Software Foundation, Inc.
+ Copyright (C) 2012-2015 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
return failures;
}
+#if BACKTRACE_SUPPORTS_DATA
+
int global = 1;
static int
return failures;
}
+#endif /* BACKTRACE_SUPPORTS_DATA */
+
static void
error_callback_create (void *data ATTRIBUTE_UNUSED, const char *msg,
int errnum)
test2 ();
test3 ();
test4 ();
+#if BACKTRACE_SUPPORTS_DATA
test5 ();
+#endif
#endif
exit (failures ? EXIT_FAILURE : EXIT_SUCCESS);