summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/lit/Commands/Inputs/main.c2
-rw-r--r--lldb/lit/Commands/command-script-import.test2
2 files changed, 3 insertions, 1 deletions
diff --git a/lldb/lit/Commands/Inputs/main.c b/lldb/lit/Commands/Inputs/main.c
new file mode 100644
index 00000000000..c029ddd96cd
--- /dev/null
+++ b/lldb/lit/Commands/Inputs/main.c
@@ -0,0 +1,2 @@
+int foo() { return 0; }
+int main() { return foo(); }
diff --git a/lldb/lit/Commands/command-script-import.test b/lldb/lit/Commands/command-script-import.test
index 318b4f43540..bddb849f426 100644
--- a/lldb/lit/Commands/command-script-import.test
+++ b/lldb/lit/Commands/command-script-import.test
@@ -2,7 +2,7 @@
# RUN: echo 'run' >> %t.in
# RUN: echo 'command script import %S/Inputs/frame.py' >> %t.in
-# RUN: %clang -g -O0 %S/../Settings/Inputs/main.c -o %t.out
+# RUN: %clang -g -O0 %S/Inputs/main.c -o %t.out
# RUN: %lldb -b -s %t.in %t.out | FileCheck %s
# CHECK: frame #0
OpenPOWER on IntegriCloud