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.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/xpcom/tests/TestStackCrawl.cpp b/xpcom/tests/TestStackCrawl.cpp
new file mode 100644
index 000000000..e1fe37db7
--- /dev/null
+++ b/xpcom/tests/TestStackCrawl.cpp
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+#include "nsISupportsUtils.h"
+#include "nsTraceRefcnt.h"
+
+int main(int argc, char* argv[])
+{
+ nsTraceRefcnt::WalkTheStack(stdout);
+ return 0;
+}
+