diff options
Diffstat (limited to 'lldb/test/API/functionalities/target-new-solib-notifications/main.cpp')
| -rw-r--r-- | lldb/test/API/functionalities/target-new-solib-notifications/main.cpp | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/lldb/test/API/functionalities/target-new-solib-notifications/main.cpp b/lldb/test/API/functionalities/target-new-solib-notifications/main.cpp index 00130c93b886..77b38c5ccdc6 100644 --- a/lldb/test/API/functionalities/target-new-solib-notifications/main.cpp +++ b/lldb/test/API/functionalities/target-new-solib-notifications/main.cpp @@ -1,6 +1,16 @@ -#include <stdio.h> -int main () -{ - puts("running"); // breakpoint here - return 0; -} +#include <stdio.h>
+
+extern "C" int a_function();
+extern "C" int c_function();
+extern "C" int b_function();
+extern "C" int d_function();
+
+int main() {
+ a_function();
+ b_function();
+ c_function();
+ d_function();
+
+ puts("running"); // breakpoint here
+ return 0;
+}
|
