llvm-project/lldb/test/API/macosx/builtin-debugtrap/main.cpp

13 lines
193 B
C++

#include <stdio.h>
int global = 0;
int main()
{
global = 5; // Set a breakpoint here
puts("");
__builtin_debugtrap();
global = 10;
__builtin_trap();
global = 15;
return global;
}