summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/thread/state_after_expression/main.cpp
blob: 338232ece6326999e2ba34a5185e1c5800e101e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
}