summaryrefslogtreecommitdiffstats
path: root/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/default.pass.cpp
blob: 352e81357f999d6962fd5b7cbf53421e3caf2cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <thread>

// class thread

// thread();

#include <thread>
#include <cassert>

int main()
{
    std::thread t;
    assert(t.get_id() == std::thread::id());
}
OpenPOWER on IntegriCloud