summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp')
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp b/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp
new file mode 100644
index 0000000..61a5e9d
--- /dev/null
+++ b/packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int a_function_to_call()
+{
+ return 0;
+}
+
+int main()
+{
+ printf("%d\n", a_function_to_call()); // breakpoint
+}
OpenPOWER on IntegriCloud