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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/xpcom/tests/TestQuickReturn.cpp b/xpcom/tests/TestQuickReturn.cpp
new file mode 100644
index 0000000000..07500bde9c
--- /dev/null
+++ b/xpcom/tests/TestQuickReturn.cpp
@@ -0,0 +1,5 @@
+int main(int argc, char* argv[]) {
+ if (argc != 1) return -1;
+
+ return 42;
+}