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 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: no-threads
16 // template <class F, class ...Args> thread(F&& f, Args&&... args);
20 #include "test_macros.h"
23 template<class T
> struct Holder
{ T t
; };
25 void f(Holder
<Incomplete
> *) { }
27 int main(int, char **)
29 Holder
<Incomplete
> *p
= nullptr;