a11e2cf183
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228784 91177308-0d34-0410-b5e6-96231b3b80d8
114 lines
2.5 KiB
C++
114 lines
2.5 KiB
C++
// -*- C++ -*-
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Test that we can include each header in two TU's and link them together.
|
|
|
|
// RUN: %cxx -c %s -o %t.first.o %flags %compile_flags
|
|
// RUN: %cxx -c %s -o %t.second.o -DWITH_MAIN %flags %compile_flags
|
|
// RUN: %cxx -o %t.exe %t.first.o %t.second.o %flags %link_flags
|
|
// RUN: %run
|
|
|
|
#include <algorithm>
|
|
#include <array>
|
|
#include <bitset>
|
|
#include <cassert>
|
|
#include <ccomplex>
|
|
#include <cctype>
|
|
#include <cerrno>
|
|
#include <cfenv>
|
|
#include <cfloat>
|
|
#include <chrono>
|
|
#include <cinttypes>
|
|
#include <ciso646>
|
|
#include <climits>
|
|
#include <clocale>
|
|
#include <cmath>
|
|
#include <codecvt>
|
|
#include <complex>
|
|
#include <complex.h>
|
|
#include <condition_variable>
|
|
#include <csetjmp>
|
|
#include <csignal>
|
|
#include <cstdarg>
|
|
#include <cstdbool>
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
#include <cstring>
|
|
#include <ctgmath>
|
|
#include <ctime>
|
|
#include <cwchar>
|
|
#include <cwctype>
|
|
#include <deque>
|
|
#include <exception>
|
|
#include <experimental/chrono>
|
|
#include <experimental/dynarray>
|
|
#include <experimental/optional>
|
|
#include <experimental/string_view>
|
|
#include <experimental/system_error>
|
|
#include <experimental/type_traits>
|
|
#include <experimental/utility>
|
|
#include <ext/hash_map>
|
|
#include <ext/hash_set>
|
|
#include <forward_list>
|
|
#include <fstream>
|
|
#include <functional>
|
|
#include <initializer_list>
|
|
#include <iomanip>
|
|
#include <ios>
|
|
#include <iosfwd>
|
|
#include <iostream>
|
|
#include <istream>
|
|
#include <iterator>
|
|
#include <limits>
|
|
#include <list>
|
|
#include <locale>
|
|
#include <map>
|
|
#include <memory>
|
|
#include <new>
|
|
#include <numeric>
|
|
#include <ostream>
|
|
#include <queue>
|
|
#include <random>
|
|
#include <ratio>
|
|
#include <regex>
|
|
#include <scoped_allocator>
|
|
#include <set>
|
|
#include <sstream>
|
|
#include <stack>
|
|
#include <stdexcept>
|
|
#include <streambuf>
|
|
#include <string>
|
|
#include <strstream>
|
|
#include <system_error>
|
|
#include <tgmath.h>
|
|
#include <tuple>
|
|
#include <typeindex>
|
|
#include <typeinfo>
|
|
#include <type_traits>
|
|
#include <unordered_map>
|
|
#include <unordered_set>
|
|
#include <utility>
|
|
#include <valarray>
|
|
#include <vector>
|
|
|
|
#ifndef _LIBCPP_HAS_NO_THREADS
|
|
#include <atomic>
|
|
#include <future>
|
|
#include <mutex>
|
|
#include <shared_mutex>
|
|
#include <thread>
|
|
#endif
|
|
|
|
#if defined(WITH_MAIN)
|
|
int main() {}
|
|
#endif
|