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: c++03, c++11
10 
11 // <experimental/coroutine>
12 
13 // Test that <experimental/coroutine> includes <new>
14 
15 #include <experimental/coroutine>
16 
main(int,char **)17 int main(int, char**) {
18   // std::nothrow is not implicitly defined by the compiler when the include is
19   // missing, unlike other parts of <new>. Therefore we use std::nothrow to
20   // test for #include <new>
21 
22   (void)std::nothrow;
23 
24   return 0;
25 }
26