[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libcxx / test / std / thread / thread.threads / thread.thread.class / thread.thread.id / default.pass.cpp
blob6a146200ce0e7107105aafa6968b3b58294637dd
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // UNSUPPORTED: no-threads
11 // <thread>
13 // class thread::id
15 // id();
17 #include <thread>
18 #include <cassert>
20 #include "test_macros.h"
22 int main(int, char**)
24 std::thread::id id;
25 assert(id == std::thread::id());
27 return 0;