1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 // UNSUPPORTED: c++03, c++11
11 
12 // <experimental/coroutine>
13 
14 // Test that <experimental/coroutine> includes <new>
15 
16 #include <experimental/coroutine>
17 
main(int,char **)18 int main(int, char**) {
19   // std::nothrow is not implicitly defined by the compiler when the include is
20   // missing, unlike other parts of <new>. Therefore we use std::nothrow to
21   // test for #include <new>
22 
23   (void)std::nothrow;
24 
25   return 0;
26 }
27