//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class thread // template ::type is the same type as std::thread. #include #include int main() { volatile std::thread t1; std::thread t2 ( t1, 1, 2.0 ); }