2 //===----------------------------------------------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 // Test that we can include each header in two TU's and link them together.
13 // RUN: %cxx -c %s -o %t.first.o %flags %compile_flags
14 // RUN: %cxx -c %s -o %t.second.o -DWITH_MAIN %flags %compile_flags
15 // RUN: %cxx -o %t.exe %t.first.o %t.second.o %flags %link_flags
36 #include <condition_variable>
52 #include <experimental/algorithm>
53 #include <experimental/chrono>
54 #include <experimental/dynarray>
55 #include <experimental/optional>
56 #include <experimental/string_view>
57 #include <experimental/system_error>
58 #include <experimental/type_traits>
59 #include <experimental/utility>
60 #include <ext/hash_map>
61 #include <ext/hash_set>
62 #include <forward_list>
65 #include <initializer_list>
84 #include <scoped_allocator>
92 #include <system_error>
97 #include <type_traits>
98 #include <unordered_map>
99 #include <unordered_set>
104 #ifndef _LIBCPP_HAS_NO_THREADS
108 #include <shared_mutex>
112 #if defined(WITH_MAIN)