1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
12 // template <class _Fp, class ..._Args,
13 // explicit thread(_Fp&& __f, _Args&&... __args);
14 // This constructor shall not participate in overload resolution
15 // if decay<F>::type is the same type as std::thread.
22 volatile std::thread t1
;
23 std::thread
t2 ( t1
, 1, 2.0 );