Files
clang-p2996/lldb/test/API/functionalities/thread/state_after_expression/main.cpp
Jim Ingham f4d4273265 Add a test for preserving state on the non-expr thread across expression evaluation.
There may be another test that tests this but I couldn't find one.
2020-06-03 14:30:35 -07:00

15 lines
192 B
C++

#include <thread>
void thread_func() {
// Set a breakpoint here
}
int
main()
{
// Set a breakpoint here
std::thread stopped_thread(thread_func);
stopped_thread.join();
return 0;
}