summaryrefslogtreecommitdiffstats
path: root/xpcom/tests/TestStackCrawl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/tests/TestStackCrawl.cpp')
-rw-r--r--xpcom/tests/TestStackCrawl.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/xpcom/tests/TestStackCrawl.cpp b/xpcom/tests/TestStackCrawl.cpp
new file mode 100644
index 0000000000..980163dae9
--- /dev/null
+++ b/xpcom/tests/TestStackCrawl.cpp
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+#include "nsISupportsUtils.h"
+#include "nsTraceRefcnt.h"
+
+int main(int argc, char* argv[]) {
+ nsTraceRefcnt::WalkTheStack(stdout);
+ return 0;
+}