summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Reproducer/Inputs/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/Reproducer/Inputs/simple.c')
-rw-r--r--lldb/test/Shell/Reproducer/Inputs/simple.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/lldb/test/Shell/Reproducer/Inputs/simple.c b/lldb/test/Shell/Reproducer/Inputs/simple.c
new file mode 100644
index 00000000000..ef14878bcf9
--- /dev/null
+++ b/lldb/test/Shell/Reproducer/Inputs/simple.c
@@ -0,0 +1,18 @@
+//===-- main.c --------------------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include <stdio.h>
+
+void foo() {
+ printf("testing\n");
+}
+
+int main (int argc, char const *argv[]) {
+ foo();
+ return 0;
+}
OpenPOWER on IntegriCloud