summaryrefslogtreecommitdiffstats
path: root/lldb/test/embedded_interpreter/main.c
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-05-05 00:36:31 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-05-05 00:36:31 +0000
commit0bade020a098334c4241b7c64854d79beaaac950 (patch)
treeb75ffe988f8d9547189113ed1d978e6567829928 /lldb/test/embedded_interpreter/main.c
parentbaa878ce4afee838205d2c1ae4196f81f2e4cbac (diff)
downloadbcm5719-llvm-0bade020a098334c4241b7c64854d79beaaac950.tar.gz
bcm5719-llvm-0bade020a098334c4241b7c64854d79beaaac950.zip
Add a test script for verifying that the convenience variables:
o lldb.debugger o lldb.target o lldb.process o lldb.thread o lldb.frame "just works" when we stop at a breakpoint. llvm-svn: 130904
Diffstat (limited to 'lldb/test/embedded_interpreter/main.c')
-rw-r--r--lldb/test/embedded_interpreter/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/embedded_interpreter/main.c b/lldb/test/embedded_interpreter/main.c
new file mode 100644
index 00000000000..277aa54a4ee
--- /dev/null
+++ b/lldb/test/embedded_interpreter/main.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main(int argc, char const *argv[]) {
+ printf("Hello world.\n");
+ return 0;
+}
OpenPOWER on IntegriCloud