bolt/deps/llvm-18.1.8/lldb/test/API/macosx/builtin-debugtrap/main.cpp
2025-02-14 19:21:04 +01:00

12 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;
}