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 // WARNING: This test was generated by generate_header_inclusion_tests.py 10 // and should not be edited manually. 11 // 12 // clang-format off 13 14 // <bitset> 15 16 // Test that <bitset> includes all the other headers it's supposed to. 17 18 #include <bitset> 19 #include "test_macros.h" 20 21 #if !defined(_LIBCPP_BITSET) 22 # error "<bitset> was expected to define _LIBCPP_BITSET" 23 #endif 24 #if !defined(_LIBCPP_IOSFWD) 25 # error "<bitset> should include <iosfwd> in C++03 and later" 26 #endif 27 #if !defined(_LIBCPP_STRING) 28 # error "<bitset> should include <string> in C++03 and later" 29 #endif 30