1*99451b44SJordan Rupprecht #include <stdio.h> 2*99451b44SJordan Rupprecht 3*99451b44SJordan Rupprecht // These are needed to make sure that the linker does not strip the parts of the 4*99451b44SJordan Rupprecht // C++ abi library that are necessary to execute the expressions in the 5*99451b44SJordan Rupprecht // debugger. It would be great if we did not need to do this, but the fact that 6*99451b44SJordan Rupprecht // LLDB cannot conjure up the abi library on demand is not relevant for testing 7*99451b44SJordan Rupprecht // top level expressions. 8*99451b44SJordan Rupprecht struct DummyA {}; 9*99451b44SJordan Rupprecht struct DummyB : public virtual DummyA {}; 10*99451b44SJordan Rupprecht main()11*99451b44SJordan Rupprechtint main() { 12*99451b44SJordan Rupprecht DummyB b; 13*99451b44SJordan Rupprecht printf("This is a dummy\n"); // Set breakpoint here 14*99451b44SJordan Rupprecht return 0; 15*99451b44SJordan Rupprecht } 16