aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/one-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/one-print.c')
-rw-r--r--lldb/test/API/python_api/global_module_cache/one-print.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/test/API/python_api/global_module_cache/one-print.c b/lldb/test/API/python_api/global_module_cache/one-print.c
new file mode 100644
index 0000000..f008f36
--- /dev/null
+++ b/lldb/test/API/python_api/global_module_cache/one-print.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int main() {
+ int counter = 0;
+ printf("I only print one time: %d.\n", counter++);
+ return counter;
+}