summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp b/packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp
new file mode 100644
index 0000000..f2035d5
--- /dev/null
+++ b/packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp
@@ -0,0 +1,17 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main (int argc, char **argv)
+{
+ char buffer[1024];
+
+ fgets (buffer, sizeof (buffer), stdin);
+ fprintf (stdout, "%s", buffer);
+
+
+ fgets (buffer, sizeof (buffer), stdin);
+ fprintf (stderr, "%s", buffer);
+
+ return 0;
+}
OpenPOWER on IntegriCloud