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

// <thread>

// class thread
// {
// public:
//     typedef pthread_t native_handle_type;
//     ...
// };

#include <thread>
#include <type_traits>

int main()
{
    static_assert((std::is_same<std::thread::native_handle_type, pthread_t>::value), "");
}