1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
13 // template <class _Fp, class ..._Args,
14 // explicit thread(_Fp&& __f, _Args&&... __args);
15 // This constructor shall not participate in overload resolution
16 // if decay<F>::type is the same type as std::thread.
24 volatile std::thread t1;
25 std::thread t2 ( t1, 1, 2.0 );