[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 / copy.pass.cpp
blob141903c9c62bea75c3fbe173e59c3be9de4faa1c
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(const id&) = default;
17 #include <thread>
18 #include <cassert>
20 #include "test_macros.h"
22 int main(int, char**)
24 std::thread::id id0;
25 std::thread::id id1 = id0;
26 assert(id1 == id0);
28 return 0;