aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/tools/lldb-mi/threadinfo/test_threadinfo.cpp
blob: 1f444ece8c21b4e16e0b73245ba34b376f72ff90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <cstdlib>
#include <iostream>
#include <thread>

using namespace std;

void
ThreadProc()
{
    int i = 0;
    i++;
}

int
main()
{
    thread t(ThreadProc);
    t.join();

    return 0;
}