xref: /llvm-project/lldb/test/API/functionalities/breakpoint/global_constructor/main.cpp (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include "foo.h"
2 
3 struct Main {
4   Main();
5   int x;
6 };
7 
Main()8 Main::Main() : x(47) {
9     bool some_code = x == 47; // !BR_main
10 }
11 
12 Main MainObj;
13 
main()14 int main() { return MainObj.x + FooObj.x; }
15