summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Settings/Inputs/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/Settings/Inputs/main.cpp')
-rw-r--r--lldb/test/Shell/Settings/Inputs/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lldb/test/Shell/Settings/Inputs/main.cpp b/lldb/test/Shell/Settings/Inputs/main.cpp
new file mode 100644
index 00000000000..98bbcd3eda0
--- /dev/null
+++ b/lldb/test/Shell/Settings/Inputs/main.cpp
@@ -0,0 +1,15 @@
+class MyClass {
+public:
+ MyClass() {}
+ void foo();
+};
+
+void MyClass::foo() {
+ return; // Set break point at this line.
+}
+
+int main() {
+ MyClass mc;
+ mc.foo();
+ return 0;
+}
OpenPOWER on IntegriCloud