summaryrefslogtreecommitdiffstats
path: root/xpcom/tests/TestQuickReturn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/tests/TestQuickReturn.cpp')
-rw-r--r--xpcom/tests/TestQuickReturn.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/xpcom/tests/TestQuickReturn.cpp b/xpcom/tests/TestQuickReturn.cpp
new file mode 100644
index 000000000..d00771ba7
--- /dev/null
+++ b/xpcom/tests/TestQuickReturn.cpp
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int main (int argc, char* argv[]) {
+ if (argc != 1)
+ return -1;
+
+ return 42;
+}